Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ jobs:
# a repository *variable*, not a secret. The real web deploy gets its
# value from Vercel; this only satisfies CI's quality-gate build.
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }}
run: pnpm turbo run lint typecheck test build
# --concurrency=4: on a fully cold cache (any lockfile change) all 25 tasks
# otherwise run at turbo's default concurrency of 10 and the stacked
# vitest/tsc/next-build processes OOM the 4-core runner (vitest "Worker
# exited unexpectedly"). Warm runs are cache hits and unaffected.
run: pnpm turbo run lint typecheck test build --concurrency=4
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ jobs:
strategy:
# One app failing must not cancel the others' deploys.
fail-fast: false
# All apps share one Fly remote builder; concurrent builds OOM it (exit 137).
max-parallel: 1
matrix:
app: ${{ fromJSON(needs.detect.outputs.apps) }}
# Never let two deploys of the same app race; queue them instead of cancelling.
Expand Down
Loading