This document details the build and deployment processes.
Before release, verify correct compilation via local builds:
pnpm install
pnpm typecheck # tsc --noEmit
pnpm lint # eslint src
pnpm test # vitest run
pnpm build # next build
pnpm exec next start --port 3101 # production smoke (only local port used)
pnpm exec playwright test # e2e smoke against port 3101
This repo has no hosted CI — GitHub Actions was intentionally removed during the single-branch consolidation. Run the same gates by hand before deploying:
pnpm typecheck → pnpm lint → pnpm test (+ pnpm test:coverage) → pnpm build..env.example is committed.pnpm audit --prod (advisory, non-blocking).pnpm exec playwright test (builds and runs the smoke on port 3101).kazi-reprime organization).NEXT_PUBLIC_SITE_URL (drives SEO canonical)AI_GATEWAY_API_KEY (for serverless AI gateway OIDC auth)AI_MODEL / AI_MODEL_QUALITY (override defaults)NEXT_PUBLIC_GTM_ID (optional, for analytics)