Skip to content

v4.2.0

v4.2.0 #23

Workflow file for this run

name: Publish to NPM
on:
release:
types: [ released ]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node 14
uses: actions/setup-node@v3
with:
node-version: 14
registry-url: 'https://registry.npmjs.org'
- name: Publish package
run: |
npm run build-npm
cd npm
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}