Skip to content

Commit e9ffa5e

Browse files
committed
chore: add type testing script
1 parent f50c1b5 commit e9ffa5e

File tree

3 files changed

+100
-9
lines changed

3 files changed

+100
-9
lines changed

.github/workflows/ci.yml

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

6565
- name: Run test suite
6666
run: pnpm test
67+
68+
# - name: Test types
69+
# run: pnpm test:types

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
2626
"lint": "eslint .",
2727
"test": "vitest run",
28+
"test:types": "vue-tsc --noEmit",
2829
"test:watch": "vitest watch"
2930
},
3031
"dependencies": {
@@ -45,6 +46,8 @@
4546
"changelogen": "^0.5.5",
4647
"eslint": "^8.52.0",
4748
"nuxt": "^3.8.0",
48-
"vitest": "^0.33.0"
49+
"typescript": "^5.2.2",
50+
"vitest": "^0.33.0",
51+
"vue-tsc": "^1.8.22"
4952
}
5053
}

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)