test(ci): add quality gates, e2e data prep, and i18n integration coverage
This commit is contained in:
@ -69,6 +69,7 @@ bun run dev
|
||||
- `bun run test`
|
||||
- `bun run test:watch`
|
||||
- `bun run test:coverage`
|
||||
- `bun run test:e2e:prepare`
|
||||
- `bun run test:e2e`
|
||||
- `bun run lint`
|
||||
- `bun run typecheck`
|
||||
@ -85,6 +86,7 @@ bun run dev
|
||||
- Unit/integration/component: Vitest + Testing Library + MSW
|
||||
- E2E: Playwright (separate projects for `web` and `admin`)
|
||||
- Use `bun run test` and `bun run test:e2e` (not plain `bun test`, which uses Bun's runner)
|
||||
- E2E data prep (migrations + seed): `bun run test:e2e:prepare`
|
||||
|
||||
One-time Playwright browser install:
|
||||
|
||||
@ -97,6 +99,7 @@ bunx playwright install
|
||||
The repo includes a theoretical CI/CD and deployment baseline:
|
||||
|
||||
- Gitea workflow: `.gitea/workflows/ci-cd-theoretical.yml`
|
||||
- Real quality gate workflow: `.gitea/workflows/ci.yml`
|
||||
- App images:
|
||||
- `apps/web/Dockerfile`
|
||||
- `apps/admin/Dockerfile`
|
||||
|
||||
Reference in New Issue
Block a user