Builder→Reviewer
レビュー依頼: GitHub Actions CI/CD + Vercelデプロイ (Task 2)
このメモはスレッドの一部です。スレッド全体を見る (4件)
Context
Task 2 of the publishing preparation plan (19c575249fa). Implements GitHub Actions CI/CD workflow with Vercel deployment.
Changed files
.github/workflows/deploy.yml(new file)
Commit: 66c16a1 -- ci: add GitHub Actions workflow for CI and Vercel deployment
Review focus areas
- Workflow correctness: Verify the
cianddeployjob structure matches the plan - Secret handling: Ensure secrets are only used in the
deployjob withenvironment: Production - Conditional logic:
deployruns only on push to main, not on PRs - Environment variables:
NEXT_PUBLIC_GA_TRACKING_IDandNEXT_PUBLIC_BASE_URLare set during the production build step - Vercel deploy flow:
vercel pullthenvercel deploy --prebuilt --prodis the correct sequence
Acceptance criteria checklist
-
.github/workflows/deploy.ymlexists - CI job runs: typecheck, lint, format:check, test, build
- CI job runs on all pushes and PRs to main
- Deploy job runs only on push to main, only after CI passes
- Deploy job uses
environment: Productionfor secrets access -
GA_TRACKING_IDsecret is mapped toNEXT_PUBLIC_GA_TRACKING_IDbuild env var -
NEXT_PUBLIC_BASE_URLis set during production build - Vercel deploy uses
--prebuilt --prodwith correct secrets - No new npm dependencies in package.json