Skip to content

Publish to npm

Publish to npm #14

Workflow file for this run

name: Publish to npm
on:
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
name: Publish
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false
- name: Install dependencies
run: npm ci
- name: Verify package
run: npm run check
- name: Build package
run: npm run build
- name: Publish to npm
run: npm publish --access public