chore(build): try to reduce parallel builds (#3443)

This commit is contained in:
Alireza 2023-06-06 14:47:10 -04:00 committed by GitHub
parent d8069f9101
commit 5c09893de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -301,13 +301,13 @@ jobs:
command: |
# This file will exist if a new version was published by
# our command in the previous job.
if [[ ! -e ./version.txt ]]; then
if [[ ! -e ../version.txt ]]; then
exit 0
else
# Remove npm config
rm -f ./.npmrc
# Set our version number using vars
export IMAGE_VERSION=$(cat version.txt)
export IMAGE_VERSION=$(cat ../version.txt)
export IMAGE_VERSION_FULL=v$IMAGE_VERSION
echo $IMAGE_VERSION
echo $IMAGE_VERSION_FULL
@ -331,13 +331,13 @@ jobs:
command: |
# This file will exist if a new version was published by
# our command in the previous job.
if [[ ! -e ./version.txt ]]; then
if [[ ! -e ../version.txt ]]; then
exit 0
else
# Remove npm config
rm -f ./.npmrc
# Set our version number using vars
export IMAGE_VERSION=$(cat version.txt)
export IMAGE_VERSION=$(cat ../version.txt)
export IMAGE_VERSION_FULL=v$IMAGE_VERSION
echo $IMAGE_VERSION
echo $IMAGE_VERSION_FULL

View File

@ -25,7 +25,7 @@
"cli": "node ./platform/cli/src/index.js",
"build:ui:deploy-preview": "lerna run build:ui:deploy-preview --stream",
"build:demo": "lerna run build:viewer:demo --stream",
"build:package-all": "lerna run build:package --parallel --stream",
"build:package-all": "lerna run build:package --stream",
"dev": "lerna run dev:viewer --stream",
"dev:project": ".scripts/dev.sh",
"dev:orthanc": "lerna run dev:orthanc --stream",