Skip to content

Commit 8ce7c25

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
fix(ci): increase memory for production build
Use the 64 GB Blacksmith runner after repeated shutdowns during Next.js static generation on the 32 GB build worker.
1 parent 05579af commit 8ce7c25

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ jobs:
226226
# harmless), but the Turbo cache gets its own key: with a shared key, only
227227
# the last committer's new entries survive each run, so the test and build
228228
# Turbo entries would evict each other nondeterministically.
229-
# Same next build as the app image, so it needs the same larger runner in
230-
# GitHub mode: it peaks ~21.9 GB and SIGKILLs on the free 16 GB ones.
229+
# Next static generation can exceed 32 GB on large app/docs diffs, so use the
230+
# 64 GB Blacksmith runner; GitHub mode already uses the largest hosted option.
231231
build:
232232
name: Build App
233-
runs-on: ${{ (vars.CI_PROVIDER == '' || vars.CI_PROVIDER == 'blacksmith') && 'blacksmith-8vcpu-ubuntu-2404' || 'linux-x64-8-core' }}
233+
runs-on: ${{ (vars.CI_PROVIDER == '' || vars.CI_PROVIDER == 'blacksmith') && 'blacksmith-16vcpu-ubuntu-2404' || 'linux-x64-8-core' }}
234234
timeout-minutes: 15
235235

236236
steps:

0 commit comments

Comments
 (0)