Skip to content

Publish to NPM

Publish to NPM #1

Workflow file for this run

name: Publish to NPM
on:
release:
types: [published]
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 24.x
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm install
- name: Publish
run: npm publish --provenance --access public