Skip to content

Publish NPM Package #24

Publish NPM Package

Publish NPM Package #24

Workflow file for this run

name: Publish NPM Package
on:
release:
types: [created]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
- run: npm clean-install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}