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: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,14 @@ jobs:
run: npm test
working-directory: cli-tool

# Trusted publishing (OIDC) needs npm >= 11.5.1; Node 22 ships an older npm.
- name: Update npm for trusted publishing
run: npm install -g npm@11

# No token: npm authenticates through the GitHub OIDC identity (id-token: write).
- name: Publish to npm
run: npm publish --access public --provenance
working-directory: cli-tool
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create git tag and release commit
env:
Expand Down
Loading