Skip to content

Commit

Permalink
ci: add a job to check types (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Mar 1, 2022
1 parent 01f3585 commit 6605129
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
- name: Lint
run: npm run lint

- name: Build types
run: npm run build:types

- name: Check types
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

- name: Security audit
run: npm run security

Expand Down

0 comments on commit 6605129

Please sign in to comment.