Skip to content

npm publish

npm publish #1

Workflow file for this run

name: npm publish
on:
release:
types: published
workflow_dispatch:
concurrency: ${{ github.workflow }}
jobs:
npm-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts
cache: npm
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}