ci(quality): add a prettier format-check gate

Wire `pnpm format:check` into the Lint/Typecheck/Test job and extend
.prettierignore so prettier never rewrites generator-owned artifacts:
the OpenAPI contract (whose exact bytes the openapi:check job enforces),
the build-emitted service worker, the Prisma client, and the lockfile.
This commit is contained in:
Marc-André Bombeck committed 2026-06-19 22:20:11 +02:00
1 parent 68033b2d66
commit b3fea2ef59
2 files changed
+18

No files matched your search

+6
View File
@@ -33,6 +33,12 @@ jobs:
- name: ESLint
run: pnpm lint
# Prettier formatting gate. The format pass excludes generator-owned
# artifacts via .prettierignore (notably docs/api/openapi.yaml, which
# the OpenAPI drift check below enforces byte-for-byte).
- name: Prettier format check
run: pnpm format:check
- name: TypeScript strict check
run: pnpm typecheck