Skip to content

Publish package to npm #37

Publish package to npm

Publish package to npm #37

Workflow file for this run

name: Publish package to npm
on:
release:
types: [published]
jobs:
publish-npm:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci
- run: npm run build-tsc
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- run: npm run npm-publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}