Skip to content

fix(ci): upgrade to Node 24 and configure OIDC trusted publishing #5

fix(ci): upgrade to Node 24 and configure OIDC trusted publishing

fix(ci): upgrade to Node 24 and configure OIDC trusted publishing #5

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
registry-url: https://registry.npmjs.org
- run: npm install -g npm@latest
- run: npm install
- run: npm publish --provenance
- uses: softprops/action-gh-release@v2
with:
generate_release_notes: true