Skip to content

Commit 5dec212

Browse files
committed
Move test type definitions to own CI job
1 parent 42dca65 commit 5dec212

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,18 @@ jobs:
1919
python-version: 3.14
2020
- run: npm ci
2121
- run: pip install codespell
22-
- run: ALL_TYPE_DEFINITIONS_TESTS=1 npx run-s lint-raw codespell
22+
- run: npx run-s lint-raw codespell
23+
24+
type-definitions:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v6
28+
- uses: actions/setup-node@v6
29+
with:
30+
node-version: 25
31+
cache: npm
32+
- run: npm ci
33+
- run: npx run-s build-types test-type-definitions-all
2334

2435
karma:
2536
runs-on: windows-2022

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"compat-rhino": "npm run zxi tests/compat/rhino-adapter.mjs",
4040
"debug-get-dependencies": "npm run zxi time tests/debug-get-dependencies/debug-get-dependencies.mjs",
4141
"lint": "run-s prepare lint-raw",
42-
"lint-raw": "run-s build-types test-eslint test-type-definitions bundle-package test-publint",
43-
"test": "run-s prepare test-raw",
42+
"lint-raw": "run-s test-eslint bundle-package test-publint",
43+
"test": "run-s prepare test-raw build-types test-type-definitions",
4444
"test-raw": "run-s lint-raw bundle-tests test-unit test-promises test-entries test-compat-data test-compat-tools test-builder test-babel-plugin check",
4545
"test-eslint": "npm run zxi time tests/eslint/runner.mjs",
4646
"test-publint": "npm run zxi time tests/publint/runner.mjs",

0 commit comments

Comments
 (0)