Skip to content

Commit ba8f0e7

Browse files
saba-chclaude
andcommitted
ci(release): pin npm to 11.5.1 for provenance publishing
Recent npm builds pulled via @latest ship without the bundled sigstore module, breaking npm publish --provenance (npm/cli#9722). Pin to the documented trusted-publishing floor so a broken release can't leak in. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FjHCRWMBeqNCddwGHN5uwZ
1 parent 92e560a commit ba8f0e7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ jobs:
6363
run: pnpm --filter wolli build:bundle
6464

6565
# OIDC trusted publishing needs npm >= 11.5.1; Node 22 ships npm 10.x.
66+
# Pinned instead of @latest: recent npm builds ship without the bundled
67+
# `sigstore` module, breaking `--provenance` (npm/cli#9722).
6668
- name: Upgrade npm for trusted publishing
67-
run: npm install -g npm@latest
69+
run: npm install -g npm@11.5.1
6870

6971
- name: Publish to npm
7072
run: node scripts/publish.mjs

0 commit comments

Comments
 (0)