## P6: CI/CD Pipeline > GitHub Actions で品質ゲートを自動化。 **Ref:** [SPEC.md §7.3 CI/CD](./SPEC.md#73-cicd--github-actions) **Dependencies:** P1-P5 **Scope:** ~3 files --- ### Tasks - [ ] Create `.github/workflows/ci.yml`: - Runner: `macos-latest` - Node 22 + pnpm setup - Steps: `pnpm install --frozen-lockfile` → `pnpm lint` → `pnpm typecheck` → `pnpm test:coverage` → `pnpm build` - [ ] Add E2E test step: `pnpm test:e2e` in CI - [ ] Configure coverage threshold gate (fail CI if below minimum) - [ ] Add CI status badge to README.md - [ ] Set up branch protection rule: require CI pass before merge to `main` - [ ] Verify: Push a branch, confirm CI runs and passes
P6: CI/CD Pipeline
Ref: SPEC.md §7.3 CI/CD
Dependencies: P1-P5
Scope: ~3 files
Tasks
.github/workflows/ci.yml:macos-latestpnpm install --frozen-lockfile→pnpm lint→pnpm typecheck→pnpm test:coverage→pnpm buildpnpm test:e2ein CImain