Skip to content

Commit 1d8dc6a

Browse files
committed
chore: add type check command and CI
1 parent c0208e7 commit 1d8dc6a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
run: yarn install --frozen-lockfile
2727
- name: Check Linting
2828
run: yarn lint
29+
- name: Check Types
30+
run: yarn types:check
2931
- name: Check Formatting
3032
run: yarn format:check
3133

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"lint:fix": "yarn lint --fix",
5353
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
5454
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,md}\"",
55+
"types:check": "tsc --noEmit",
5556
"types:clean": "del types",
5657
"types:compile": "tsc",
5758
"types:prune-private": "del \"types/*/*\" \"!types/{lib,loader,options}/{index,types}.d.ts\"",

0 commit comments

Comments
 (0)