increase mem size for production builds

This commit is contained in:
Denys Vuika
2020-08-25 12:42:36 +01:00
parent 93b51b266c
commit 2a91f37d8d
7 changed files with 14 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ cd $DIR/../..
echo "====== Process Services ======"
echo "====== Build ======"
NODE_OPTIONS=--max_old_space_size=4096
if [ "$CI" = "true" ]; then
echo "Building process-services for production"
nx build process-services --prod || exit 1