Skip to content

1.2.0

1.2.0 #3

Workflow file for this run

name: Publish to npm
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
# Trusted publishing (OIDC) needs npm >= 11.5.1; Node 20 ships npm 10.
- run: npm install -g npm@latest
- run: npm ci
# No NODE_AUTH_TOKEN: auth comes from the OIDC token (id-token: write)
# via the trusted publisher configured for this package on npmjs.com.
- run: npm publish --provenance --access public