Skip to content

Node.js Package

Node.js Package #1

Workflow file for this run

name: 'Node.js Package'
on:
release:
types: [created]
jobs:
publish-npm:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/[email protected]'
- uses: 'actions/[email protected]'
with:
node-version: 16
registry-url: 'https://registry.npmjs.org/'
- run: 'npm ci'
- run: 'npm run build'
- run: 'cd dist; npm publish'
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}