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
6 changes: 4 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,11 @@ jobs:
persist-credentials: false

# Trusted Publishing requires npm >= 11.5.1; ubuntu-latest ships npm 10.x
# with Node 22, so upgrade the CLI before publishing.
# with Node 22, so upgrade the CLI before publishing. The global prefix
# (/usr/local) is root-owned, so installing a new global npm needs sudo —
# without it npm fails with EACCES on /usr/local/share/man.
- name: Upgrade npm for Trusted Publishing
run: npm install -g npm@latest
run: sudo npm install -g npm@latest

- name: Download released binaries
env:
Expand Down
Loading