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>
pull/30583/head
Vincent Petry 2 years ago
parent ea94d34845
commit 3fd15e6ba2
No known key found for this signature in database
GPG Key ID: E055D6A4D513575C

@ -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

Loading…
Cancel
Save