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

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