Skip to content

v3.0.1

v3.0.1 #16

Workflow file for this run

# This workflow will publish a package to NPM when a release is created
name: Publish to NPM
on:
release:
types: [published]
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Install Node v18
uses: actions/setup-node@v2
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Clean install deps
run: npm ci
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}