From e729194e6b4b97b10efcd646651f1fd6766bcf2a Mon Sep 17 00:00:00 2001 From: alexander-akait Date: Wed, 20 May 2026 16:24:26 +0300 Subject: [PATCH] ci: lint types --- .github/workflows/nodejs.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index b7057cb0..e3d4892e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -52,6 +52,12 @@ jobs: - name: Security audit run: npm run security -- --only=prod + - 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 + test: name: Test - ${{ matrix.os }} - Node v${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }}