Skip to content

Commit d580037

Browse files
committed
Update CI config for new type checking flow
1 parent 74c2895 commit d580037

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ jobs:
4343
cache: yarn
4444
- name: install dependencies
4545
run: yarn install --frozen-lockfile --non-interactive
46-
- name: Check types
47-
run: yarn type-check
46+
- name: build stable type definitions
47+
run: yarn build:types
48+
- name: Check published types
49+
run: yarn type-check:types
4850

4951
types-range:
5052
name: Type Checking (other supported versions)
@@ -61,10 +63,12 @@ jobs:
6163
cache: yarn
6264
- name: install dependencies
6365
run: yarn install --frozen-lockfile --non-interactive
66+
- name: build stable type definitions
67+
run: yarn build:types
6468
- name: install TS@${{matrix.ts-version}}
6569
run: yarn add -D typescript@${{ matrix.ts-version }}
66-
- name: Check types with TS@${{matrix.ts-version}}
67-
run: yarn type-check
70+
- name: Check published types with TS@${{matrix.ts-version}}
71+
run: yarn type-check:types
6872

6973
basic-test:
7074
name: Debug and Prebuilt (All Tests by Package + Canary Features)

0 commit comments

Comments
 (0)