Skip to content

Commit ca81097

Browse files
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.
1 parent a0a5683 commit ca81097

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,8 @@ jobs:
666666
name: make gen
667667

668668
- run: pnpm build
669+
env:
670+
NODE_OPTIONS: ${{ github.repository_owner == 'coder' && '--max_old_space_size=8192' || '' }}
669671
working-directory: site
670672

671673
- run: pnpm playwright:install

0 commit comments

Comments
 (0)