Skip to content

Commit 8c2a019

Browse files
committed
chore: add CI typecheck for REact 18
1 parent dc1abec commit 8c2a019

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
@@ -40,6 +40,25 @@ jobs:
4040
- name: Typecheck
4141
run: yarn typecheck
4242

43+
typecheck-react-19:
44+
needs: [install-cache-deps]
45+
runs-on: ubuntu-latest
46+
name: Typecheck
47+
steps:
48+
- name: Checkout
49+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
50+
51+
- name: Setup Node.js and deps
52+
uses: ./.github/actions/setup-deps
53+
54+
- name: Switch to React 18
55+
run: |
56+
yarn remove react react-test-renderer react-native @react-native/babel-preset
57+
58+
59+
- name: Typecheck
60+
run: yarn typecheck
61+
4362
test:
4463
runs-on: ubuntu-latest
4564
name: Test

0 commit comments

Comments
 (0)