Skip to content

Publish NPM Package on Release #23

Publish NPM Package on Release

Publish NPM Package on Release #23

name: Publish NPM Package on Release
on: workflow_dispatch
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm ci
- run: npm run test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}