Goal
Right now CI is manual ("I ran `bun test` locally"). Let's have GitHub Actions do it for us on every PR.
Scope
- Create `.github/workflows/ci.yml`.
- Steps:
- Checkout.
- Install Bun via `oven-sh/setup-bun@v2`.
- `bun install --frozen-lockfile`.
- `bunx biome check src/`.
- `bun run typecheck`.
- `bun test`.
- `bun run build` (catches Vite errors).
- Cache `~/.bun/install/cache` between runs (bun's global cache).
- Fail the workflow if any step fails.
Optional follow-ups
- Add a status badge to README.
- Require the check to pass before merging to `main` (GitHub branch protection rule — needs repo admin, can be done after the workflow is in).
Acceptance criteria
Goal
Right now CI is manual ("I ran `bun test` locally"). Let's have GitHub Actions do it for us on every PR.
Scope
Optional follow-ups
Acceptance criteria