Skip to content

Commit 4637470

Browse files
committed
build: add check-types command
1 parent 8eb722f commit 4637470

File tree

3 files changed

+93
-2
lines changed

3 files changed

+93
-2
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
- name: Build
3838
run: pnpm build
3939

40+
- name: Check Types
41+
run: pnpm check-types
42+
4043
- name: Lint
4144
run: pnpm lint
4245

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
"type": "module",
66
"scripts": {
77
"build": "pnpm -r --workspace-concurrency=1 --stream build",
8+
"check-types": "vue-tsc --noEmit",
89
"clean": "pnpm --parallel --stream clean",
910
"format": "prettier --write .",
1011
"lint": "eslint --ext .cjs,.js,.ts,.vue . && prettier --check .",
1112
"lint:fix": "eslint --fix --ext .cjs,.js,.ts,.vue . && prettier --write .",
1213
"prepare": "husky",
1314
"release": "pnpm release:check && pnpm release:version && pnpm release:publish",
1415
"release:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
15-
"release:check": "pnpm lint && pnpm clean && pnpm build && pnpm test",
16+
"release:check": "pnpm lint && pnpm clean && pnpm build && pnpm check-types && pnpm test",
1617
"release:publish": "pnpm -r publish --tag next",
1718
"release:version": "bumpp -r --execute=\"pnpm release:changelog\" --commit \"build: publish v%s\" --all",
1819
"test": "pnpm test:unit && pnpm test:e2e",
@@ -51,7 +52,8 @@
5152
"tsup": "^8.0.2",
5253
"typescript": "^5.4.5",
5354
"vite": "~5.2.11",
54-
"vitest": "^1.6.0"
55+
"vitest": "^1.6.0",
56+
"vue-tsc": "^2.0.17"
5557
},
5658
"packageManager": "[email protected]",
5759
"engines": {

pnpm-lock.yaml

Lines changed: 86 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)