Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
node-version: '22'
registry-url: 'https://registry.npmjs.org'

- name: Upgrade npm for trusted publishing
# Node 22 ships with npm 10.x; npm OIDC trusted publishing requires
# npm 11.5.1+. Without this, the publish step silently falls back
# to the empty NODE_AUTH_TOKEN written by setup-node and the
# registry returns 404.
run: npm install -g npm@latest

- name: Verify tag matches package.json
run: |
TAG_VERSION="${GITHUB_REF#refs/tags/v}"
Expand Down
Loading