Skip to content

Commit 6b9b37a

Browse files
committed
check types before build
1 parent 46fa916 commit 6b9b37a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
restore-keys: |
2626
${{ runner.os }}-modules-
2727
- run: yarn install
28+
- run: yarn typecheck
2829
- run: yarn build
2930
- run: yarn lint:ci
3031
- run: yarn doctor

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"build": "lerna run build",
3535
"lint": "eslint --cache .",
3636
"lint:ci": "eslint --cache . --max-warnings=0",
37+
"typecheck": "tsc",
3738
"prepare": "husky install"
3839
},
3940
"lint-staged": {

0 commit comments

Comments
 (0)