Skip to content

Commit dd0bbbf

Browse files
committed
modify CI
1 parent 6809885 commit dd0bbbf

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
@@ -67,19 +67,23 @@ jobs:
6767
env:
6868
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6969

70-
test-legacy:
70+
test-18:
7171
needs: [install-cache-deps]
7272
runs-on: ubuntu-latest
73-
name: Test (legacy)
73+
name: Test React 18
7474
steps:
7575
- name: Checkout
7676
uses: actions/checkout@v4
7777

7878
- name: Setup Node.js and deps
7979
uses: ./.github/actions/setup-deps
8080

81-
- name: Test in legacy mode
82-
run: CONCURRENT_MODE=0 yarn test:ci
81+
- name: Switch to React 18
82+
run:
83+
yarn add react@18.3.1 react-test-renderer@18.3.1 react-native@0.77.0 @react-native/babel-preset@0.77.0
84+
85+
- name: Test
86+
run: yarn test:ci
8387

8488
test-website:
8589
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)