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

@@ -7,8 +7,8 @@ cd $DIR/../..
if [ "$CI" = "true" ]; then
echo "Building extensions for production"
NODE_OPTIONS="--max-old-space-size=8192" nx build extensions --configuration production || exit 1
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build extensions --configuration production || exit 1
else
echo "Building extensions for development"
NODE_OPTIONS="--max-old-space-size=8192" nx build extensions || exit 1
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build extensions || exit 1
fi