Run client-y tests with --frozen-lockfile

Seems to be best-practice and may be a little faster
This commit is contained in:
mvdbeek
2021-06-30 13:06:24 +02:00
parent bf28104dfb
commit fdb36c7ed7
6 changed files with 9 additions and 3 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ REPLACE_PIP=$SET_VENV
COPY_SAMPLE_FILES=1
SKIP_CLIENT_BUILD=${GALAXY_SKIP_CLIENT_BUILD:-0}
NODE_VERSION=${GALAXY_NODE_VERSION:-"$(cat client/.node_version)"}
YARN_INSTALL_OPTS=${YARN_INSTALL_OPTS:-"--network-timeout 300000 --check-files"}
for arg in "$@"; do
[ "$arg" = "--skip-eggs" ] && FETCH_WHEELS=0
@@ -258,7 +259,7 @@ if [ $SKIP_CLIENT_BUILD -eq 0 ]; then
fi
# Build client
cd client
if yarn install --network-timeout 300000 --check-files; then
if yarn install $YARN_INSTALL_OPTS; then
if ! yarn run build-production-maps; then
echo "ERROR: Galaxy client build failed. See ./client/README.md for more information, including how to get help."
exit 1