Skip to content

Commit 3423c1f

Browse files
committed
ci: fail ci if committed type definitions are not up to date
1 parent 8781606 commit 3423c1f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@ jobs:
3131
- name: Lint
3232
if: matrix.node-version == 24
3333
run: pnpm lint
34+
- name: Check generated types are up to date
35+
if: matrix.node-version == 24
36+
run: |
37+
git add -f -A -- types
38+
git diff --cached --exit-code
3439
- name: Run tests
3540
run: pnpm test

0 commit comments

Comments
 (0)