Skip to content

Commit 4179bcb

Browse files
committed
ci: add type check script.
1 parent 131d0d0 commit 4179bcb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: node -v
2121
- run: npm -v
2222
- run: npm install
23+
- run: npm run type-check
2324
- run: npm run build
2425
- run: npm run coverage
2526
- run: npm run doc

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"build": "lerna exec --scope @uiw/react-json-view -- tsbb build \"src/*.{ts,tsx}\" --use-babel --cjs cjs",
66
"start": "lerna exec --scope website -- npm run start",
77
"doc": "lerna exec --scope website -- npm run build",
8+
"type-check": "lerna exec \"tsc --noEmit\" --scope @uiw/* --stream",
89
"test": "lerna exec --scope @uiw/react-json-view -- tsbb test --env=jsdom",
910
"coverage": "lerna exec --scope @uiw/react-json-view -- tsbb test --env=jsdom --coverage --bail",
1011
"prepare": "husky install",

0 commit comments

Comments
 (0)