Skip to content

Commit dc101fc

Browse files
committed
chore: do not emit when running type check
1 parent 63e11d6 commit dc101fc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
run: yarn prettylint
3535
- name: run typecheck
3636
run: yarn typecheck
37+
- name: run build
38+
run: yarn build
3739
- name: run tests
3840
run: yarn test --coverage
3941
env:
@@ -58,6 +60,8 @@ jobs:
5860
run: yarn prettylint
5961
- name: run typecheck
6062
run: yarn typecheck
63+
- name: run build
64+
run: yarn build
6165
- name: run tests
6266
run: yarn test --coverage
6367
env:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"prepare": " husky install && yarn build",
1919
"prettylint": "prettier README.md package.json --check",
2020
"test": "jest",
21-
"typecheck": "tsc -p ."
21+
"typecheck": "tsc -p . --noEmit"
2222
},
2323
"commitlint": {
2424
"extends": [

0 commit comments

Comments
 (0)