Skip to content

ci: split build into separate tsc and vite steps#184

Open
nullxnothing wants to merge 1 commit into
mainfrom
ci/split-build-steps
Open

ci: split build into separate tsc and vite steps#184
nullxnothing wants to merge 1 commit into
mainfrom
ci/split-build-steps

Conversation

@nullxnothing
Copy link
Copy Markdown
Owner

Post-release CI hygiene follow-up.

Splits pnpm run build (tsc && vite build) into two distinct steps in the build jobs so the type-checker's heap is released before Rollup bundles, lowering peak memory. Complements the --max-old-space-size=6144 headroom added when the macOS build OOM'd during the v4 release.

No product change: tsconfig is noEmit, so tsc only type-checks (no output); vite build is unchanged.

🤖 Generated with Claude Code

Run `tsc` (type-check) and `vite build` as distinct steps in the build jobs so
the type-checker's heap is fully released before Rollup bundles, lowering peak
memory. Complements the --max-old-space-size headroom already in place after the
macOS OOM. No change to the product build (tsconfig is noEmit; tsc only
type-checks).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant