CI/CD Pipeline
CI/CD Pipeline
The frontend uses GitHub Actions plus provider-native builds (Lovable or Vercel).
graph TD;
PR[Pull Request] -->|lint + test| CI[GitHub Action];
CI -->|build preview| LovablePreview[Lovable Preview URL];
CI -->|upload artifacts| Vercel[Staging Deploy];
main -->|tag vX.Y.Z| ProdDeploy[Vercel Production];
Steps:
- Install –
pnpm install --frozen-lockfile. - Lint & Type-check –
pnpm lint && pnpm tsc --noEmit. - Unit tests –
pnpm vitest run. - Build –
pnpm build(Vite). - Preview Deployment – Lovable auto-host.
- Artifact Deployment –
vercel --prod.
Failures block merge; successful production deploy tags GitHub release.
Status: draft.