Skip to content

Commit 81198f1

Browse files
nikosd23claude
andcommitted
fix: remove global npm upgrade from publish workflow
The "npm install -g npm@latest" step was failing on the runner with a MODULE_NOT_FOUND error for 'promise-retry' during npm's self-upgrade. Node 22 already ships with npm 10.x which supports --provenance natively, so the upgrade step is unnecessary. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3d47932 commit 81198f1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
with:
2020
node-version: 22
2121
registry-url: https://registry.npmjs.org/
22-
- run: npm install -g npm@latest
2322
- run: npm ci
2423
- run: npm run build
2524
- run: |

0 commit comments

Comments
 (0)