From 530656344ef09171e6ad9397a3f2f6c16c2e230f Mon Sep 17 00:00:00 2001 From: Aleksey Semikozov Date: Thu, 11 Jun 2026 12:45:19 -0300 Subject: [PATCH] CI: type-check Jest test files in __internal via tsc --noEmit --- .github/workflows/renovation.yml | 5 ++++- packages/devextreme/package.json | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/renovation.yml b/.github/workflows/renovation.yml index 2d6e107369e9..bb77dad3110c 100644 --- a/.github/workflows/renovation.yml +++ b/.github/workflows/renovation.yml @@ -1,4 +1,4 @@ -name: Renovation +name: Jest tests concurrency: group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}} @@ -52,6 +52,9 @@ jobs: working-directory: ./packages/devextreme run: pnpm exec gulp localization + - name: Check test types + run: pnpm exec nx check-types devextreme + - name: Jest tests run: pnpm exec nx test-jest devextreme diff --git a/packages/devextreme/package.json b/packages/devextreme/package.json index e2ac034cb60f..ea5e2833b382 100644 --- a/packages/devextreme/package.json +++ b/packages/devextreme/package.json @@ -249,6 +249,7 @@ "update-ts-bundle": "dx-tools generate-ts-bundle --sources ./js --output-path ./ts/dx.all.d.ts", "regenerate": "pnpm run update-ts-bundle && pnpm run update-ts-reexports", "validate-ts": "gulp validate-ts", + "check-types": "tsc --noEmit -p js/__internal/tsconfig.json", "validate-declarations": "dx-tools validate-declarations --sources ./js --exclude \"js/(renovation|__internal|.eslintrc.js)\" --compiler-options \"{ \\\"typeRoots\\\": [] }\"", "testcafe-in-docker": "docker build -f ./testing/testcafe/docker/Dockerfile -t testcafe-testing . && docker run -it testcafe-testing", "dev:playground": "vite",