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>
This commit is contained in:
Vincent Petry 2022-01-10 12:00:16 +01:00
parent 91c7efaeb6
commit e96c003d49
No known key found for this signature in database
GPG Key ID: E055D6A4D513575C
1 changed files with 1 additions and 1 deletions

View File

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