Skip to content

Commit 5f8654c

Browse files
committed
Add type check steps to CI
1 parent de168ca commit 5f8654c

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,26 @@ jobs:
572572
- name: Run syntax tests on source files
573573
run: .github/scripts/test.sh source-syntax
574574

575+
typecheck:
576+
needs: install-and-cibuild
577+
runs-on: ubuntu-latest
578+
steps:
579+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
580+
- uses: ./.github/actions/setup-workspace
581+
582+
- name: Type-check TypeScript sources
583+
run: npm run typecheck
584+
585+
generated-types-drift:
586+
needs: install-and-cibuild
587+
runs-on: ubuntu-latest
588+
steps:
589+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
590+
- uses: ./.github/actions/setup-workspace
591+
592+
- name: Verify generated types are in sync with attribute sources
593+
run: npm run gen:types:check
594+
575595
# ============================================================
576596
# Standalone jobs (no dependencies on install-and-cibuild)
577597
# ============================================================

0 commit comments

Comments
 (0)