Skip to content

Commit 4a2049e

Browse files
committed
build: Add typecheck script
1 parent b2fdf85 commit 4a2049e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- name: Clean install Node dependencies
2828
run: pnpm install --frozen-lockfile
2929

30+
- name: TypeScript type checking
31+
run: pnpm run typecheck
32+
3033
- name: Run unit tests
3134
run: pnpm run test
3235

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"dev": "nuxi dev --open",
1717
"generate": "nuxi generate -m",
1818
"preview": "nuxi preview",
19+
"typecheck": "vue-tsc --noEmit",
1920
"lint": "eslint --max-warnings=0 --cache --fix .",
2021
"test": "rimraf ./coverage && vitest run --pass-with-no-tests",
2122
"test:report": "open-cli coverage/index.html"

0 commit comments

Comments
 (0)