| name | quality-checks |
| description | Run the full quality check pipeline: TypeScript type checking, Biome linting/formatting, Vitest tests, and production build. |
Quality Checks
Running All Checks
npm run typecheck
npm run lint
npm test
npm run build
Before Committing
- Run
npm run lint:fix to auto-fix formatting
- Run
npm test to verify all tests pass
- Run
npm run typecheck to catch type errors
- Run
npm run build to verify production build
Writing Tests
- Place tests in
src/test/ mirroring source structure
- Use
describe/it from vitest
- Import from
@/ path aliases
- Test fixtures go in
src/test/fixtures/
- Test both happy path and error cases
CI Pipeline
GitHub Actions runs on every push/PR to main:
- Install → Typecheck → Lint → Test → Build