Minimal Next.js + TypeScript project that calls reusable CI/CD workflows from the CICD-Fe_Single-test repository.
npm install
npm run dev
npm run test
npm run lint
npm run buildThis repository does not contain its own workflow definitions.
Instead, .github/workflows/master-pipeline-fe-single.yml calls the reusable workflows hosted in CICD-Fe_Single-test.
testuatmain
VERCEL_TOKENVERCEL_ORG_ID- A secret that stores your Vercel Project ID (for example:
VERCEL_PROJECT_ID_FE_SINGLE)
For PR auto-creation jobs, also provide one of:
GH_PR_TOKEN(preferred), orGHPR_TOKEN(legacy)
FE_SINGLE_SYSTEM_JSON- A JSON object (or one-item array) with keys:
name,dir,image,vercel_project_secret. - Example:
{"name":"Frontend-Root","dir":".","image":"fe-single-web","vercel_project_secret":"VERCEL_PROJECT_ID_FE_SINGLE"}
- A JSON object (or one-item array) with keys:
In .github/workflows/master-pipeline-fe-single.yml, replace OWNER/CICD-Fe_Single-test with the actual GitHub owner/org and repo name where the reusable workflows are hosted.
- Link this repository to a Vercel project.
- Set Vercel Root Directory to
.for this single frontend setup.
- Unit tests generate
coverage/coverage-summary.jsonfor the test workflow. Dockerfileis included so the existing Docker build workflow onmaincan run.