Skip to content

Commit ec3fbe9

Browse files
committed
chore: add CI typecheck for REact 18
1 parent 223e0c4 commit ec3fbe9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,25 @@ jobs:
5252
- name: Typecheck
5353
run: yarn typecheck
5454

55+
typecheck-react-19:
56+
needs: [install-cache-deps]
57+
runs-on: ubuntu-latest
58+
name: Typecheck
59+
steps:
60+
- name: Checkout
61+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
62+
63+
- name: Setup Node.js and deps
64+
uses: ./.github/actions/setup-deps
65+
66+
- name: Switch to React 18
67+
run: |
68+
yarn remove react react-test-renderer react-native @react-native/babel-preset
69+
70+
71+
- name: Typecheck
72+
run: yarn typecheck
73+
5574
test:
5675
needs: [install-cache-deps]
5776
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)