Context
Mitzo currently has no CI — tests and linting only run locally via pre-commit hooks. As the project grows and accumulates multi-layered bug fixes (see the user-message saga: PRs #47, #53, #54, #56, #57, #66, #79, #99, #100, #101), we need automated verification on every push and PR.
Scope
Phase 1: Core pipeline
Phase 2: Build verification
Phase 3: Quality gates
Notes
- Node version should match what's used in dev (check
.nvmrc or package.json engines)
- SQLite (better-sqlite3) needs native compilation — may need build deps in the CI image
- Keep it fast — the test suite runs in ~1.5s locally, CI should stay under 2 minutes
Context
Mitzo currently has no CI — tests and linting only run locally via pre-commit hooks. As the project grows and accumulates multi-layered bug fixes (see the user-message saga: PRs #47, #53, #54, #56, #57, #66, #79, #99, #100, #101), we need automated verification on every push and PR.
Scope
Phase 1: Core pipeline
mainand all PRsnpm test(vitest, 511+ tests)npm run lint(eslint)npm run format:check(prettier)tsc --noEmit)Phase 2: Build verification
npm run build— verify frontend builds cleanlyPhase 3: Quality gates
main— require CI pass before mergeNotes
.nvmrcorpackage.jsonengines)