mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Run client-y tests with --frozen-lockfile
Seems to be best-practice and may be a little faster
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user