diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-01-10 12:00:16 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-01-10 12:00:16 +0100 |
commit | e96c003d497fef682e3f8ef34edf6f064e3130d5 (patch) | |
tree | 306a005c9c63d30542c4772573f656cd53bd90fb /autotest-js.sh | |
parent | 91c7efaeb6c3a65643f1f0a9377d7c42b9231f8a (diff) | |
download | nextcloud-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-x | autotest-js.sh | 2 |
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 |