# CI Build-Minutes Worksheet (Bun / Vite 8 / CodeBuild)

Illustrative math — plug your own CodeBuild / Actions rates.

## Baseline (fill)

- Avg build minutes (last 30): ____
- Builds/day: ____
- $/build-minute: ____ (e.g. CodeBuild LARGE ~$0.005)

## Levers (July 2026)

1. `bun install --frozen-lockfile` vs `npm ci` (cold + warm)
2. Vite **8** + Rolldown default (March 2026) vs Vite 7 Rollup prod path
3. Cache: CodeBuild local CUSTOM / S3 for `node_modules`, `.vite`, `.tsbuildinfo`
4. Keep `tsc --noEmit` incremental; don't confuse SWC strip with typecheck

## Counter-case

Native node-gyp / N-API modules may force npm for install — measure before mandating Bun everywhere.
