summaryrefslogtreecommitdiffstats
path: root/autotest-js.sh
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-01-10 12:00:16 +0100
committerVincent Petry <vincent@nextcloud.com>2022-01-10 12:00:16 +0100
commite96c003d497fef682e3f8ef34edf6f064e3130d5 (patch)
tree306a005c9c63d30542c4772573f656cd53bd90fb /autotest-js.sh
parent91c7efaeb6c3a65643f1f0a9377d7c42b9231f8a (diff)
downloadnextcloud-server-e96c003d497fef682e3f8ef34edf6f064e3130d5.tar.gz
nextcloud-server-e96c003d497fef682e3f8ef34edf6f064e3130d5.zip
Use npm ci when running JS tests
This makes sure that the pinned versions are selected correctly. Fixes the colors.js incident. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'autotest-js.sh')
-rwxr-xr-xautotest-js.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotest-js.sh b/autotest-js.sh
index b5bb9965553..a6936ec336f 100755
--- a/autotest-js.sh
+++ b/autotest-js.sh
@@ -20,7 +20,7 @@ then
fi
# update/install test packages
-mkdir -p "$PREFIX" && $NPM install --link --prefix "$PREFIX" || exit 3
+mkdir -p "$PREFIX" && $NPM ci --link --prefix "$PREFIX" || exit 3
# create scss test
mkdir -p tests/css