Skip to content

Commit 989eafc

Browse files
committed
fix: sudo for npm global install on runner
1 parent 1a1ea59 commit 989eafc

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
@@ -62,5 +62,5 @@ jobs:
6262
- name: Publish to npm
6363
if: steps.diff.outputs.changed == 'true' || github.event_name == 'workflow_dispatch'
6464
run: |
65-
npm install -g npm@latest
65+
sudo npm install -g npm@latest
6666
npm publish --access public --provenance

0 commit comments

Comments
 (0)