mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
increase mem size for production builds
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user