Skip to content

Commit 98d0462

Browse files
committed
ci: add type check script
1 parent 5a21f01 commit 98d0462

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Lint
2626
run: npm run lint
2727

28+
- name: Type Check
29+
run: npm run type-check
30+
2831
- name: Build
2932
run: npm run build
3033

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"dev": "tsup --watch",
4040
"build": "tsup",
4141
"lint": "eslint . --no-fix --ignore-path .gitignore --max-warnings 0",
42+
"type-check": "tsc --noEmit",
4243
"release": "standard-version",
4344
"semantic-release": "semantic-release",
4445
"prepack": "npm run build"

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"paths": {
1212
"@/*": ["src/*"]
1313
},
14-
}
14+
},
15+
"include": ["src"]
1516
}

0 commit comments

Comments
 (0)