Skip to content

Commit 6605129

Browse files
authored
ci: add a job to check types (#917)
1 parent 01f3585 commit 6605129

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: .github/workflows/nodejs.yml

+6
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ jobs:
4141
- name: Lint
4242
run: npm run lint
4343

44+
- name: Build types
45+
run: npm run build:types
46+
47+
- name: Check types
48+
run: if [ -n "$(git status types --porcelain)" ]; then echo "Missing types. Update types by running 'npm run build:types'"; exit 1; else echo "All types are valid"; fi
49+
4450
- name: Security audit
4551
run: npm run security
4652

0 commit comments

Comments
 (0)