From b411f9b125cff9e1482a6e758e3410694d466ba9 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 11 Jun 2024 11:50:08 +0100 Subject: [PATCH] Try installing npm without sudo --- .github/workflows/script/update-node-modules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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