| name | github-actions |
| description | Set up GitHub Actions CI for lint, typecheck, and tests. |
GitHub Actions
Setup
Create .github/workflows/ci.yml in the project root. See references/ci.yml for the full template.
The CI pipeline mirrors the Husky pre-commit checks:
- Lint —
bunx biome ci .
- Typecheck — bun run tsc --noEmit
- Test —
bunx playwright test
Triggers
- Push to
main
- All pull requests
Key Points
- Use
oven-sh/setup-bun@v2 for bun.
- Use
bun install --frozen-lockfile for reproducible installs.
- Install Playwright browsers with
bunx playwright install --with-deps.
- Cache bun store:
~/.bun/install/cache.
- Set
CI=true environment variable.
Adding the Workflow
mkdir -p .github/workflows