From 3fd15e6ba27bdc10cfaf49d40da860465ed3ca07 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 10 Jan 2022 12:00:16 +0100 Subject: [PATCH] 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 --- autotest-js.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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