mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
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.
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user