Skip to content

Commit 85200df

Browse files
committed
Run type-checking on types in CI
1 parent 44e4798 commit 85200df

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/test.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,5 @@ jobs:
126126
run: |
127127
yarn tsc --version
128128
yarn check-types
129+
yarn test:typecheck
129130
yarn test:types

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"test:types": "tsc -p test/typescript && echo \"Typetests passed\"",
5353
"test:watch": "vitest",
5454
"test:cov": "vitest --coverage",
55+
"test:typecheck": "tsc -p test && echo \"Types passed\"",
5556
"build": "rollup -c",
5657
"prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test && yarn build",
5758
"examples:lint": "eslint --ext js,ts examples",

0 commit comments

Comments
 (0)