diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7b5d8c64..d4bde3b9 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -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