@@ -16,77 +16,140 @@ concurrency:
1616jobs :
1717 lint :
1818 runs-on : ubuntu-latest
19- name : Lint - ${{ matrix.rn-version }}
19+ name : Lint - ${{ matrix.name }}
2020 strategy :
2121 fail-fast : false
2222 matrix :
23- rn-version : [latest, next, nightly]
23+ include :
24+ - name : RN 0.84.0
25+ react-version : 19.2.3
26+ react-native-version : 0.84.0
27+ setup : stable
28+ - name : RN 0.85.0
29+ react-version : 19.2.3
30+ react-native-version : 0.85.0
31+ setup : stable
32+ - name : RN Latest
33+ setup : latest
34+ - name : RN Next
35+ setup : next
36+ - name : RN Nightly
37+ setup : nightly
2438 steps :
2539 - name : Checkout
2640 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2741
42+ - name : Setup Node.js and deps (stable)
43+ if : matrix.setup == 'stable'
44+ uses : ./.github/actions/setup-deps
45+ with :
46+ react-version : ${{ matrix.react-version }}
47+ react-native-version : ${{ matrix.react-native-version }}
48+
2849 - name : Setup Node.js and deps (latest)
29- if : matrix.rn-version == 'latest'
50+ if : matrix.setup == 'latest'
3051 uses : ./.github/actions/setup-deps-rn-latest
3152
3253 - name : Setup Node.js and deps (next)
33- if : matrix.rn-version == 'next'
54+ if : matrix.setup == 'next'
3455 uses : ./.github/actions/setup-deps-rn-next
3556
3657 - name : Setup Node.js and deps (nightly)
37- if : matrix.rn-version == 'nightly'
58+ if : matrix.setup == 'nightly'
3859 uses : ./.github/actions/setup-deps-rn-nightly
3960
4061 - name : Lint
4162 run : yarn lint
4263
4364 typecheck :
4465 runs-on : ubuntu-latest
45- name : Typecheck - ${{ matrix.rn-version }}
66+ name : Typecheck - ${{ matrix.name }}
4667 strategy :
4768 fail-fast : false
4869 matrix :
49- rn-version : [latest, next, nightly]
70+ include :
71+ - name : RN 0.84.0
72+ react-version : 19.2.3
73+ react-native-version : 0.84.0
74+ setup : stable
75+ - name : RN 0.85.0
76+ react-version : 19.2.3
77+ react-native-version : 0.85.0
78+ setup : stable
79+ - name : RN Latest
80+ setup : latest
81+ - name : RN Next
82+ setup : next
83+ - name : RN Nightly
84+ setup : nightly
5085 steps :
5186 - name : Checkout
5287 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5388
89+ - name : Setup Node.js and deps (stable)
90+ if : matrix.setup == 'stable'
91+ uses : ./.github/actions/setup-deps
92+ with :
93+ react-version : ${{ matrix.react-version }}
94+ react-native-version : ${{ matrix.react-native-version }}
95+
5496 - name : Setup Node.js and deps (latest)
55- if : matrix.rn-version == 'latest'
97+ if : matrix.setup == 'latest'
5698 uses : ./.github/actions/setup-deps-rn-latest
5799
58100 - name : Setup Node.js and deps (next)
59- if : matrix.rn-version == 'next'
101+ if : matrix.setup == 'next'
60102 uses : ./.github/actions/setup-deps-rn-next
61103
62104 - name : Setup Node.js and deps (nightly)
63- if : matrix.rn-version == 'nightly'
105+ if : matrix.setup == 'nightly'
64106 uses : ./.github/actions/setup-deps-rn-nightly
65107
66108 - name : Typecheck
67109 run : yarn typecheck
68110
69111 test :
70112 runs-on : ubuntu-latest
71- name : Test - ${{ matrix.rn-version }}
113+ name : Test - ${{ matrix.name }}
72114 strategy :
73115 fail-fast : false
74116 matrix :
75- rn-version : [latest, next, nightly]
117+ include :
118+ - name : RN 0.84.0
119+ react-version : 19.2.3
120+ react-native-version : 0.84.0
121+ setup : stable
122+ - name : RN 0.85.0
123+ react-version : 19.2.3
124+ react-native-version : 0.85.0
125+ setup : stable
126+ - name : RN Latest
127+ setup : latest
128+ - name : RN Next
129+ setup : next
130+ - name : RN Nightly
131+ setup : nightly
76132 steps :
77133 - name : Checkout
78134 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
79135
136+ - name : Setup Node.js and deps (stable)
137+ if : matrix.setup == 'stable'
138+ uses : ./.github/actions/setup-deps
139+ with :
140+ react-version : ${{ matrix.react-version }}
141+ react-native-version : ${{ matrix.react-native-version }}
142+
80143 - name : Setup Node.js and deps (latest)
81- if : matrix.rn-version == 'latest'
144+ if : matrix.setup == 'latest'
82145 uses : ./.github/actions/setup-deps-rn-latest
83146
84147 - name : Setup Node.js and deps (next)
85- if : matrix.rn-version == 'next'
148+ if : matrix.setup == 'next'
86149 uses : ./.github/actions/setup-deps-rn-next
87150
88151 - name : Setup Node.js and deps (nightly)
89- if : matrix.rn-version == 'nightly'
152+ if : matrix.setup == 'nightly'
90153 uses : ./.github/actions/setup-deps-rn-nightly
91154
92155 - name : Test
0 commit comments