From d64ffea83d7794fc3623db024b9786207e3b1c67 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 31 Jan 2020 15:28:27 +0100 Subject: [PATCH] chore(ci): pass max_old_space_size to build step --- .github/workflows/nightly.yml | 2 ++ .github/workflows/test.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 72ce5a19eb..6171d63304 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -21,6 +21,8 @@ jobs: run: yarn run audit - name: build run: yarn test:fixtures -i + env: + NODE_OPTIONS: "--max_old_space_size=4096" - name: lint app run: yarn lint:app - name: test dev diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 890340b8e5..0077840b30 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -141,6 +141,9 @@ jobs: os: [ubuntu-latest] node: [10, 12] + env: + NODE_OPTIONS: "--max_old_space_size=4096" + steps: - uses: actions/setup-node@v1 with: