Skip to content

v0.1.0

v0.1.0 #39

Workflow file for this run

name: Publish
on:
workflow_dispatch:
release:
types: [published]
jobs:
publish-npm:
if: github.event_name == 'release'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # Required for OIDC npm publishing
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 20
registry-url: https://registry.npmjs.org/
# Ensure npm 11.5.1 or later is installed (for OIDC npm publishing)
- run: npm install -g npm@latest
- run: npm ci
- run: npm publish