Setup CI Pipeline
GitHub Actions tuned for React/TypeScript:
- Quality gate -- lint, type-check, tests in <5 min
- Coverage gates -- enforce thresholds, post diff on PRs
- Visual regression -- Playwright screenshot compare
- Dependency automation -- dependabot minor/patch
- Bundle budget -- alert on size regressions
- Smart bun caching
See REFERENCE.md for workflow templates + Blacksmith tuning.
Steps
- Write
.github/workflows/quality-gate.ymlfrom REFERENCE.md - Write
.github/dependabot.yml-- auto minor/patch, manual major - Add
toHaveScreenshot()to Playwright tests - Add
--coverage --coverage.thresholds.lines=80to test scripts
Verify
-
gh workflow run quality-gate.ymlruns - Coverage report on PRs
- Dependabot make first PR