Skip to content

Commit 381d4f8

Browse files
ihor-sokoliukclaude
andcommitted
fix(publish): remove broken --integrity flag from global npm install
The --integrity flag is not supported by npm install -g in npm 10.x (bundled with Node 20 on GitHub Actions runners). npm was treating the sha512-... value as a git package specifier, causing a git ls-remote call and a permission-denied failure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 61d3615 commit 381d4f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Update npm
2727
# Keep npm pinned: npm publish --provenance relies on modern trusted publishing support.
28-
run: npm install -g npm@11.17.0 --integrity sha512-PurxiZexEHDTE4SSaLI3ZrnbAGiZfeyUcQcxcP5D+hfytNAze/D1IzDuInTn9XVLIbAQUnQuSPXJx02LHjLvQw==
28+
run: npm install -g npm@11.17.0
2929

3030
- name: Verify npm provenance support
3131
run: |

0 commit comments

Comments
 (0)