Skip to content

Publish Package to npmjs #5

Publish Package to npmjs

Publish Package to npmjs #5

Workflow file for this run

name: Publish Package to npmjs
on:
release:
types: [ published ]
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm publish