diff --git a/.github/workflows/script/update-node-modules.sh b/.github/workflows/script/update-node-modules.sh index e59236d8a..daef107f9 100755 --- a/.github/workflows/script/update-node-modules.sh +++ b/.github/workflows/script/update-node-modules.sh @@ -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