fix production builds (#6075)

* run builds scripts sequentially

* temporary enable prod builds

* use ng instead of nx for adf-core

* increase mem

* downgrage the ts target

* downgrade main tsconfig

* update config

* downgrade scss-bundle

* raise mem only for prod builds

* restore dev build

* update angular cdk

* try restore build target

* upgrade unit tests after angular upgrade

* fix tests after angular upgrade

* remove old e2e
This commit is contained in:
Denys Vuika
2020-08-28 17:34:08 +01:00
committed by GitHub
parent 6435901ffb
commit d051aed476
14 changed files with 2509 additions and 2016 deletions

View File

@@ -7,11 +7,9 @@ cd $DIR/../..
echo "====== Process Services Cloud ======"
echo "====== Build ======"
export NODE_OPTIONS=--max_old_space_size=8192
if [ "$CI" = "true" ]; then
echo "Building process-services-cloud for production"
nx build process-services-cloud --prod || exit 1
NODE_OPTIONS="--max-old-space-size=8192" nx build process-services-cloud --prod || exit 1
else
echo "Building process-services-cloud for development"
nx build process-services-cloud || exit 1