Skip to content

Commit

Permalink
Try installing npm without sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
henrymercer committed Jun 11, 2024
1 parent 2838ced commit b411f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/script/update-node-modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ "$1" != "update" && "$1" != "check-only" ]; then
exit 1
fi

sudo npm install --force -g [email protected]
npm install --force -g [email protected]

# clean the npm cache to ensure we don't have any files owned by root
sudo npm cache clean --force
Expand Down

0 comments on commit b411f9b

Please sign in to comment.