Skip to content

Commit 4bc6eff

Browse files
authored
Add type checking in Node CI workflow (#114)
1 parent 9ebf911 commit 4bc6eff

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/validate-pr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
node-version: ${{ matrix.node-version }}
3434
cache: "pnpm"
3535
- run: pnpm install
36+
- run: pnpm ci:typecheck
3637
- run: pnpm ci:lint
3738
- run: pnpm ci:format
3839
- run: pnpm test

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"format": "prettier --write --ignore-unknown .",
1111
"coverage": "open coverage/index.html",
1212
"prepare": "husky",
13+
"ci:typecheck": "tsc",
1314
"ci:lint": "eslint 'src/**/*.ts'",
1415
"ci:format": "prettier --check --ignore-unknown .",
1516
"ci:coverage": "nyc check-coverage --lines 90 --branches 80 --statements 90",

0 commit comments

Comments
 (0)