Skip to content

9.1.0

9.1.0 #18

Workflow file for this run

name: Publish Package to npmjs
on:
release:
types: [published]
workflow_dispatch: # 👈 allows you to trigger manually from the Actions tab
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v6.0.0
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Publish with provenance
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}