Skip to content

Commit 30ac07b

Browse files
committed
ci: add type checking
1 parent 95f6826 commit 30ac07b

3 files changed

Lines changed: 115 additions & 37 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626

2727
- run: pnpm dev:prepare
2828
- run: pnpm lint
29+
- run: pnpm test:types
2930
- run: pnpm test
3031
- run: pnpm build
3132
- run: pnpm dev:build

‎package.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"prepack": "pnpm build",
4444
"release": "pnpm lint && pnpm test && pnpm prepack && changelogen --release && pnpm publish && git push --follow-tags",
4545
"test": "vitest run",
46+
"test:types": "vue-tsc --noEmit && vue-tsc -b playground --noEmit",
4647
"test:watch": "vitest watch"
4748
},
4849
"dependencies": {
@@ -62,7 +63,8 @@
6263
"playwright-core": "^1.63.0",
6364
"typescript": "^6.0.3",
6465
"unbuild": "^3.6.1",
65-
"vitest": "^5.0.2"
66+
"vitest": "^5.0.2",
67+
"vue-tsc": "^3.3.13"
6668
},
6769
"devEngines": {
6870
"runtime": {

0 commit comments

Comments
 (0)