Fix the nx path to avoid installing it globally (#7681)

* fix nx path

* fix nx

* fix nx

* fix nx

* fix nx

* fix nx

* fix nx
This commit is contained in:
Maurizio Vitale
2022-06-22 09:16:22 +01:00
committed by GitHub
parent 3aa52c8f14
commit 851e153080
7 changed files with 14 additions and 14 deletions

View File

@@ -9,10 +9,10 @@ echo "====== Build ======"
if [ "$CI" = "true" ]; then
echo "Building content-services for production"
NODE_OPTIONS="--max-old-space-size=8192" nx build content-services --configuration production || exit 1
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build content-services --configuration production || exit 1
else
echo "Building content-services for development"
NODE_OPTIONS="--max-old-space-size=8192" nx build content-services || exit 1
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build content-services || exit 1
fi
echo "====== Copy i18n ======"