Skip to content

Commit 71c4885

Browse files
committed
ci: add typecheck
1 parent db83c7b commit 71c4885

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

.github/workflows/unit-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,6 @@ jobs:
5555

5656
- name: Test
5757
run: nr test
58+
59+
- name: Typecheck
60+
run: nr typecheck

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
"test": "vitest",
102102
"play": "pnpm run -C ./playground dev",
103103
"release": "bumpp && pnpm publish",
104+
"typecheck": "tsmc --noEmit",
104105
"prepublishOnly": "pnpm run build"
105106
},
106107
"dependencies": {
@@ -117,6 +118,7 @@
117118
"@babel/types": "^7.27.1",
118119
"@sxzz/eslint-config": "^6.2.0",
119120
"@sxzz/prettier-config": "^2.2.1",
121+
"@ts-macro/tsc": "^0.1.25",
120122
"@types/babel__traverse": "^7.20.7",
121123
"@types/eslint": "^9.6.1",
122124
"@types/node": "^22.15.3",

pnpm-lock.yaml

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)