Skip to content

Commit 0e793b0

Browse files
ci: lint types (#1324)
1 parent 3b00be7 commit 0e793b0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ jobs:
5252
- name: Security audit
5353
run: npm run security -- --only=prod
5454

55+
- name: Build types
56+
run: npm run build:types
57+
58+
- name: Check types
59+
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
60+
5561
test:
5662
name: Test - ${{ matrix.os }} - Node v${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }}
5763

0 commit comments

Comments
 (0)