diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0abc8c2cc4..1e24b8ae7f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,9 @@ name: Build on: pull_request: +env: + NODE_OPTIONS: "--max-old-space-size=4096" + jobs: build: name: Build and validate artifacts diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 6534dd1a49..ed8d21c625 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -6,6 +6,9 @@ on: # Ensure only one workflow/job is publishing to npm at a time concurrency: publish-to-npm +env: + NODE_OPTIONS: "--max-old-space-size=4096" + jobs: prerelease: name: Changesets Prerelease diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4122bd009f..0ba64aede6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,9 @@ on: # Ensure only one workflow/job is publishing to npm at a time concurrency: publish-to-npm +env: + NODE_OPTIONS: "--max-old-space-size=4096" + jobs: release: name: Release diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index c53ae65654..a1bbc284d7 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -13,6 +13,9 @@ on: # Ensure only one workflow/job is publishing to npm at a time concurrency: publish-to-npm +env: + NODE_OPTIONS: "--max-old-space-size=4096" + jobs: release-snapshot: name: Publish snapshot release to npm