From 8e5fd9b5b6ef649b617944362abc03457e31b332 Mon Sep 17 00:00:00 2001 From: corymhall <43035978+corymhall@users.noreply.github.com> Date: Wed, 10 May 2023 14:45:35 +0000 Subject: [PATCH] chore: set NODE_OPTIONS in pr build --- buildspec-pr.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspec-pr.yaml b/buildspec-pr.yaml index f44b5088aad28..f918893ca29dd 100644 --- a/buildspec-pr.yaml +++ b/buildspec-pr.yaml @@ -28,6 +28,7 @@ phases: - /bin/bash ./scripts/cache-load.sh build: commands: + - export NODE_OPTIONS="--max-old-space-size=8196 --experimental-worker ${NODE_OPTIONS:-}" - /bin/bash ./build.sh - /bin/bash ./scripts/transform.sh # After compilation, run Rosetta (using the cache if available).