Skip to content

Commit 04d6418

Browse files
CI: type-check Jest test files in __internal (#33971)
1 parent 92e5578 commit 04d6418

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/renovation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Renovation
1+
name: Jest tests
22

33
concurrency:
44
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}}
@@ -53,6 +53,9 @@ jobs:
5353
working-directory: ./packages/devextreme
5454
run: pnpm exec gulp localization
5555

56+
- name: Check test types
57+
run: pnpm exec nx check-types devextreme
58+
5659
- name: Jest tests
5760
run: pnpm exec nx test-jest devextreme
5861

packages/devextreme/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@
240240
"update-ts-bundle": "dx-tools generate-ts-bundle --sources ./js --output-path ./ts/dx.all.d.ts",
241241
"regenerate": "pnpm run update-ts-bundle && pnpm run update-ts-reexports",
242242
"validate-ts": "gulp validate-ts",
243+
"check-types": "tsc --noEmit -p js/__internal/tsconfig.json",
243244
"validate-declarations": "dx-tools validate-declarations --sources ./js --exclude \"js/(renovation|__internal|.eslintrc.js)\" --compiler-options \"{ \\\"typeRoots\\\": [] }\"",
244245
"testcafe-in-docker": "docker build -f ./testing/testcafe/docker/Dockerfile -t testcafe-testing . && docker run -it testcafe-testing",
245246
"dev:playground": "vite",

0 commit comments

Comments
 (0)