Backoffice Client CI/CD Production
Overview
Builds and deploys the backoffice client to Vercel (production), then runs E2E production tests and Lighthouse CI. Runs only on push to main when relevant paths change.
Workflow file: production-w-app-backoffice-client.yml
Triggers
- Push to
mainwhen any of these paths change:apps/backoffice-client/**packages/ui/**,packages/theme/**tools/e2e/**package.json,pnpm-lock.yaml,turbo.json.github/workflows/production-w-app-backoffice-client.yml
- workflow_dispatch for manual runs.
Pipeline steps
- Checkout repository (full depth).
- CI setup (Node, dependencies).
- Validate monorepo package for
backoffice-client. - Deploy to Vercel (production) using
VERCEL_PROJECT_ID_BACKOFFICE_CLIENT,VERCEL_TOKEN,VERCEL_ORG_ID. - Run E2E production tests against
https://backoffice.kartuli.app(tests undertools/e2e/tests/backoffice-client/production). - Run Lighthouse CI (assertions; artifacts on failure).
Failure handling
- Inspect the failing job in GitHub Actions (deploy, E2E, or Lighthouse).
- Fix the cause (e.g. build, tests, or Vercel config) and push to
mainor re-run the workflow.