mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Try installing npm without sudo
This commit is contained in:
@@ -6,7 +6,7 @@ if [ "$1" != "update" && "$1" != "check-only" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo npm install --force -g npm@9.2.0
|
||||
npm install --force -g npm@9.2.0
|
||||
|
||||
# clean the npm cache to ensure we don't have any files owned by root
|
||||
sudo npm cache clean --force
|
||||
|
||||
Reference in New Issue
Block a user