Skip to content

v0.2.4

v0.2.4 #9

Workflow file for this run

name: Publish to npm
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm run build
# Keep `npm publish` so OIDC trusted publishing (id-token: write) works
# as it did on 0.2.2; pnpm publish doesn't support OIDC provenance yet.
- run: npm publish --access public