Skip to content

release: v0.1.2

release: v0.1.2 #3

Workflow file for this run

name: release
on:
push:
tags: ['v*.*.*']
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # npm provenance
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
# npm trusted publishing (OIDC) requires npm >= 11.5.1; Node 22 bundles npm 10.x
- run: npm install -g npm@latest
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run format:check
- run: npm run test:coverage
- run: npm run build
# Auth via npm trusted publishing (OIDC) — no token needed; provenance is implied
- run: npm publish --provenance --access public