Skip to content

Commit c05b004

Browse files
Pin npm to 11.x for publish (#49)
npm@latest now resolves to 12.x, whose publish --provenance path crashes with "Cannot find module 'sigstore'" (npm/cli#9722). npm 11.5+ keeps Trusted Publisher support. Co-authored-by: Claude Fable 5 <[email protected]>
1 parent 5a304a2 commit c05b004

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
run: mise run package-check
6868

6969
- name: Use npm with Trusted Publisher support
70-
run: npm install -g npm@latest
70+
run: npm install -g npm@11
7171

7272
- name: Publish to npm
7373
run: npm publish --access public

0 commit comments

Comments
 (0)