Skip to content

v1.0.7

v1.0.7 #9

Workflow file for this run

name: Publish to npm
on:
release:
types:
- published
workflow_dispatch:
inputs:
ref:
description: Git ref to publish from
required: false
default: main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
ref: ${{ github.event.release.tag_name || inputs.ref || github.ref_name }}
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
node-version: 24
cache: npm
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run check:version-sync
- run: npm run check:changelog
- run: npm run check
- run: npm pack --dry-run
- run: npm publish