Skip to content

Commit 3f96517

Browse files
authored
Merge pull request #4489 from Methuselah96/tests-typecheck
2 parents 461b093 + 6714d12 commit 3f96517

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
with:
1515
filters: |
1616
src:
17+
- '.github/**'
1718
- 'src/**'
1819
- 'test/**'
1920
- '.github/**/*.yaml'
@@ -99,7 +100,7 @@ jobs:
99100
fail-fast: false
100101
matrix:
101102
node: ['16.x']
102-
ts: ['4.1', '4.2', '4.3', '4.4', '4.5', '4.6', '4.7', '4.8', '4.9.2-rc']
103+
ts: ['4.2', '4.3', '4.4', '4.5', '4.6', '4.7', '4.8', '4.9', '5.0']
103104
steps:
104105
- name: Checkout repo
105106
uses: actions/checkout@v2
@@ -128,6 +129,7 @@ jobs:
128129
run: |
129130
yarn tsc --version
130131
yarn check-types
132+
yarn test:typecheck
131133
yarn test:types
132134
133135
test-published-artifact:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"test:types": "tsc -p test/typescript && echo \"Typetests passed\"",
4949
"test:watch": "vitest",
5050
"test:cov": "vitest --coverage",
51+
"test:typecheck": "tsc -p test && echo \"Types passed\"",
5152
"build": "tsup",
5253
"prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test",
5354
"prepack": "yarn build",

0 commit comments

Comments
 (0)