Skip to content

Commit 68d6666

Browse files
committed
ci(npm): pin npm to 11.x — npm 12.0.0 provenance publish is broken (missing sigstore)
1 parent 9e587b3 commit 68d6666

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ jobs:
4747
registry-url: 'https://registry.npmjs.org'
4848

4949
- name: Upgrade npm (trusted publishing + provenance need >= 11.5.1)
50-
run: npm install -g npm@latest
50+
# Pinned to 11.x: npm 12.0.0 ships a broken provenance path
51+
# ("Cannot find module 'sigstore'" in libnpmpublish). Unpin once fixed.
52+
run: npm install -g npm@11
5153

5254
- name: Resolve version
5355
id: ver

0 commit comments

Comments
 (0)