diff --git a/.github/workflows/renovation.yml b/.github/workflows/renovation.yml index 908d72738dfb..7b9cbad1b744 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}} @@ -51,6 +51,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 cbb4d91742fd..2f883fa56bbf 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", "test-jest": "cross-env NODE_OPTIONS='--expose-gc' jest --no-coverage --runInBand --selectProjects jsdom-tests",