/test — Quality Gate Runner
Run the full quality gate pipeline for the Q8 project.
Steps
- •Run TypeScript type checking:
bash
pnpm turbo typecheck
- •If typecheck passes, run the test suite:
bash
pnpm test -- run
- •If tests pass, run build verification:
bash
pnpm turbo build --filter=@q8/web
- •Report results: list any failures with file paths and error messages.
Rules
- •Stop on first failure and report clearly what broke.
- •Never skip typecheck — it's the first gate.
- •If the user passes a path argument (e.g.,
/test src/lib/agents), scope the test run to that path only but still run full typecheck and build.