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 "====== Content Services ======"
echo "====== Build ======"
NODE_OPTIONS=--max_old_space_size=4096
if [ "$CI" = "true" ]; then
echo "Building content-services for production"
nx build content-services --prod || exit 1

View File

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

View File

@@ -4,6 +4,8 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/../..
NODE_OPTIONS=--max_old_space_size=4096
if [ "$CI" = "true" ]; then
echo "Building extensions for production"
nx build extensions --prod || exit 1

View File

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

View File

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

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

View File

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