31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"id": "phase1-foundation-20",
|
|
"seq": "20",
|
|
"title": "Set up CI/CD pipeline with automated testing",
|
|
"status": "completed",
|
|
"depends_on": ["19"],
|
|
"parallel": false,
|
|
"context_files": [
|
|
"/Users/kunthawatgreethong/Gitea/moreminimore-vibe/Websitebuilder/.tmp/sessions/phase1-foundation/context.md",
|
|
"/Users/kunthawatgreethong/.config/opencode/context/core/standards/test-coverage.md"
|
|
],
|
|
"acceptance_criteria": [
|
|
"GitHub Actions workflow file created at .github/workflows/ci.yml",
|
|
"Workflow runs on push and pull requests",
|
|
"Build step validates Next.js build",
|
|
"Test step runs Vitest unit tests",
|
|
"Coverage report generated and uploaded",
|
|
"E2E test step runs Playwright tests",
|
|
"Coverage thresholds enforced (critical 100%, high 90%, medium 80%)",
|
|
"Build fails if tests fail or coverage below threshold",
|
|
"Workflow tested and passes on push"
|
|
],
|
|
"deliverables": [
|
|
".github/workflows/ci.yml",
|
|
"vitest.config.ts",
|
|
"playwright.config.ts",
|
|
".nycrc (coverage config)",
|
|
"README.md (updated with CI/CD info)"
|
|
]
|
|
}
|