Skip to content

Commit b2016e5

Browse files
committed
revert nightly changes
1 parent 6501417 commit b2016e5

File tree

1 file changed

+15
-78
lines changed

1 file changed

+15
-78
lines changed

.github/workflows/nightly.yaml

Lines changed: 15 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -16,140 +16,77 @@ concurrency:
1616
jobs:
1717
lint:
1818
runs-on: ubuntu-latest
19-
name: Lint - ${{ matrix.name }}
19+
name: Lint - ${{ matrix.rn-version }}
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
include:
24-
- name: RN 0.84.1
25-
react-version: 19.2.3
26-
react-native-version: 0.84.1
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
23+
rn-version: [latest, next, nightly]
3824
steps:
3925
- name: Checkout
4026
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4127

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-
4928
- name: Setup Node.js and deps (latest)
50-
if: matrix.setup == 'latest'
29+
if: matrix.rn-version == 'latest'
5130
uses: ./.github/actions/setup-deps-rn-latest
5231

5332
- name: Setup Node.js and deps (next)
54-
if: matrix.setup == 'next'
33+
if: matrix.rn-version == 'next'
5534
uses: ./.github/actions/setup-deps-rn-next
5635

5736
- name: Setup Node.js and deps (nightly)
58-
if: matrix.setup == 'nightly'
37+
if: matrix.rn-version == 'nightly'
5938
uses: ./.github/actions/setup-deps-rn-nightly
6039

6140
- name: Lint
6241
run: yarn lint
6342

6443
typecheck:
6544
runs-on: ubuntu-latest
66-
name: Typecheck - ${{ matrix.name }}
45+
name: Typecheck - ${{ matrix.rn-version }}
6746
strategy:
6847
fail-fast: false
6948
matrix:
70-
include:
71-
- name: RN 0.84
72-
react-version: 19.2.3
73-
react-native-version: 0.84.1
74-
setup: stable
75-
- name: RN 0.85
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
49+
rn-version: [latest, next, nightly]
8550
steps:
8651
- name: Checkout
8752
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8853

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-
9654
- name: Setup Node.js and deps (latest)
97-
if: matrix.setup == 'latest'
55+
if: matrix.rn-version == 'latest'
9856
uses: ./.github/actions/setup-deps-rn-latest
9957

10058
- name: Setup Node.js and deps (next)
101-
if: matrix.setup == 'next'
59+
if: matrix.rn-version == 'next'
10260
uses: ./.github/actions/setup-deps-rn-next
10361

10462
- name: Setup Node.js and deps (nightly)
105-
if: matrix.setup == 'nightly'
63+
if: matrix.rn-version == 'nightly'
10664
uses: ./.github/actions/setup-deps-rn-nightly
10765

10866
- name: Typecheck
10967
run: yarn typecheck
11068

11169
test:
11270
runs-on: ubuntu-latest
113-
name: Test - ${{ matrix.name }}
71+
name: Test - ${{ matrix.rn-version }}
11472
strategy:
11573
fail-fast: false
11674
matrix:
117-
include:
118-
- name: RN 0.84
119-
react-version: 19.2.3
120-
react-native-version: 0.84.1
121-
setup: stable
122-
- name: RN 0.85
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
75+
rn-version: [latest, next, nightly]
13276
steps:
13377
- name: Checkout
13478
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13579

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-
14380
- name: Setup Node.js and deps (latest)
144-
if: matrix.setup == 'latest'
81+
if: matrix.rn-version == 'latest'
14582
uses: ./.github/actions/setup-deps-rn-latest
14683

14784
- name: Setup Node.js and deps (next)
148-
if: matrix.setup == 'next'
85+
if: matrix.rn-version == 'next'
14986
uses: ./.github/actions/setup-deps-rn-next
15087

15188
- name: Setup Node.js and deps (nightly)
152-
if: matrix.setup == 'nightly'
89+
if: matrix.rn-version == 'nightly'
15390
uses: ./.github/actions/setup-deps-rn-nightly
15491

15592
- name: Test

0 commit comments

Comments
 (0)