Skip to content

Commit 57321bc

Browse files
committed
update CI
1 parent a86c553 commit 57321bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
- run: npm ci
3030
- name: Build Types
3131
run: npm run build:types
32-
# - name: Test Types
33-
# run: npm run test:types
3432
- name: Lint Types
3533
run: npm run lint:types
34+
- name: Test Types
35+
run: npm run test:types
3636
check-docs:
3737
name: Check Docs
3838
timeout-minutes: 10

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"test": "cross-env PARSE_BUILD=node jest",
103103
"test:mongodb": "npm run test:mongodb:runnerstart && npm run integration",
104104
"test:mongodb:runnerstart": "mongodb-runner start -- --port 27017",
105-
"test:types": "dtslint --expectOnly types",
105+
"test:types": "dtslint --expectOnly types 2>&1 | tee temp.txt; echo \"Type tests failed: $(grep 'ERROR:' temp.txt -c)\"; rm temp.txt;",
106106
"posttest:mongodb": "mongodb-runner stop --all",
107107
"lint": "eslint --cache src/ integration/",
108108
"lint:fix": "eslint --fix --cache src/ integration/",

0 commit comments

Comments
 (0)