Skip to content

Publish Package to npmjs #19

Publish Package to npmjs

Publish Package to npmjs #19

Workflow file for this run

name: Publish Package to npmjs
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.x"
- run: npm ci
- run: npm run build
- run: |
npm config set //registry.npmjs.org/:_authToken ''
npm publish --provenance --access public --registry https://registry.npmjs.org