Skip to content

Commit b0fbdb4

Browse files
committed
Fix npm global install permission error in CI
1 parent 83746bc commit b0fbdb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ jobs:
337337
registry-url: 'https://registry.npmjs.org'
338338

339339
- name: update npm # npm 11.5.1 is required for OIDC auth https://docs.npmjs.com/trusted-publishers
340-
run: npm install -g npm@11.5.1
340+
run: sudo npm install -g npm@11.5.1
341341

342342
- name: build and publish npm packages
343343
if: steps.tag.outputs.version != ''

0 commit comments

Comments
 (0)