From 5c09893de453105bb690d3d8cc2704d1de3cec47 Mon Sep 17 00:00:00 2001 From: Alireza Date: Tue, 6 Jun 2023 14:47:10 -0400 Subject: [PATCH] chore(build): try to reduce parallel builds (#3443) --- .circleci/config.yml | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3844604b4..da2d1fdc3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/package.json b/package.json index 350c7d488..c283cec5b 100644 --- a/package.json +++ b/package.json @@ -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",