Rezzy
TypeScript
Pull Request Opened
PR #69 opened: Consolidate and optimize CI workflows
Summary
Consolidates the separate lint and test workflows into a single optimized CI workflow with parallel execution.
Changes
- Merged
lint.ymlandtests.ymlinto unifiedci.yml - Two parallel jobs: Lint and Test (run simultaneously)
- PostgreSQL service container (matches production environment)
- Composer dependency caching (saves ~18s per run)
- Code coverage with 50% minimum threshold
- HTML coverage report as artifact on PRs (7 day retention)
- Pest parallel mode for faster test execution
- Added TypeScript type checking to lint job
Test plan
- Verified tests pass locally with PostgreSQL
- Verified tests pass without frontend build
- CI workflow will validate on this PR
Performance improvements
| Before | After |
|---|---|
| Sequential workflows | Parallel Lint + Test jobs |
| SQLite for tests | PostgreSQL (prod parity) |
| No caching | Composer caching |
| No coverage | 50% minimum + HTML report |
Branch protection update needed
After merge, update branch protection required checks:
Lint(new job name)Test(new job name)
Stu Mason + AI [email protected]
+190
additions
-122
deletions
19
files changed