зеркало из https://github.com/mozilla/fxa.git
Merge pull request #15734 from mozilla/fix-oom-in-create-fxa-image
task(ci): Include max-old-space-size node option in build.sh
This commit is contained in:
Коммит
cb20a648fe
|
@ -32,7 +32,7 @@ done
|
||||||
# `npx yarn` because `npm i -g yarn` needs sudo
|
# `npx yarn` because `npm i -g yarn` needs sudo
|
||||||
npx yarn install
|
npx yarn install
|
||||||
npx yarn gql:allowlist
|
npx yarn gql:allowlist
|
||||||
SKIP_PREFLIGHT_CHECK=true npx nx run-many -t build --all --verbose
|
NODE_OPTIONS="--max-old-space-size=7168" SKIP_PREFLIGHT_CHECK=true npx nx run-many -t build --all --verbose
|
||||||
|
|
||||||
# This will reduce packages to only production dependencies
|
# This will reduce packages to only production dependencies
|
||||||
npx yarn workspaces focus --production --all
|
npx yarn workspaces focus --production --all
|
||||||
|
|
Загрузка…
Ссылка в новой задаче