From 06fa29ae97299148a9af1df8a54881defda0a992 Mon Sep 17 00:00:00 2001 From: Aleksey Semikozov Date: Thu, 11 Jun 2026 12:47:18 -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 d14d20aabe64..acd145ea9d17 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}} @@ -53,6 +53,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 e20680ea6ceb..7b74b5c82b39 100644 --- a/packages/devextreme/package.json +++ b/packages/devextreme/package.json @@ -247,6 +247,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",