From ca810975e71ffe3c7fb02ce0124eb995400bc392 Mon Sep 17 00:00:00 2001 From: Ethan <39577870+ethanndickson@users.noreply.github.com> Date: Thu, 5 Dec 2024 17:03:50 +1100 Subject: [PATCH] fix: increase node max heap allocation during e2e builds (#15759) We're already using a 16GB runner, so this should fix flakes like: https://github.com/coder/coder/actions/runs/12172097355/job/33950290293 https://github.com/coder/coder/actions/runs/11653425091/job/32445787079 This is the same `NODE_OPTION` we already set in the dogfood dockerfile. --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3d8c1002a1..8edb00efdf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -666,6 +666,8 @@ jobs: name: make gen - run: pnpm build + env: + NODE_OPTIONS: ${{ github.repository_owner == 'coder' && '--max_old_space_size=8192' || '' }} working-directory: site - run: pnpm playwright:install