diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 416b8597..d25672cb 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -45,6 +45,13 @@ jobs: run: npm run lint working-directory: frontend + # svelte-check / tsc — catches generated-type drift (e.g. a hand-edited + # api.ts whose required fields are missing from Document/Person mocks). + # `npm run lint` alone does not type-check. See PR #673 / #671. + - name: Type check + run: npm run check + working-directory: frontend + - name: Assert no banned vi.mock patterns shell: bash run: |