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

View File

@ -25,7 +25,7 @@
"cli": "node ./platform/cli/src/index.js", "cli": "node ./platform/cli/src/index.js",
"build:ui:deploy-preview": "lerna run build:ui:deploy-preview --stream", "build:ui:deploy-preview": "lerna run build:ui:deploy-preview --stream",
"build:demo": "lerna run build:viewer:demo --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": "lerna run dev:viewer --stream",
"dev:project": ".scripts/dev.sh", "dev:project": ".scripts/dev.sh",
"dev:orthanc": "lerna run dev:orthanc --stream", "dev:orthanc": "lerna run dev:orthanc --stream",