How to Run Gates in CI

Goal: enforce gates before merge or deploy.

Steps

  1. Validate PRD shape
bun run prd:validate
  1. Run PRD in CI
- name: Run PRD
  run: bun run prd.ts
  1. Fail fast on the first failing gate
  • runPrd stops on first failure by default