Skip to content

Commit 76b2fad

Browse files
committed
chore: tweak nightly job
1 parent 54dee92 commit 76b2fad

File tree

3 files changed

+17
-119
lines changed

3 files changed

+17
-119
lines changed
Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: React Native Nightly
22
on:
3-
# Runs every night at 5 AM
3+
# Runs every night at 4 AM
44
schedule:
5-
- cron: '0 5 * * *'
6-
# Manual trigger
5+
- cron: '0 4 * * *'
76
workflow_dispatch:
87

98
# Set minimal permissions by default
@@ -17,39 +16,48 @@ concurrency:
1716
jobs:
1817
lint:
1918
runs-on: ubuntu-latest
20-
name: Lint
19+
name: Lint - ${{ matrix.rn-version }}
20+
strategy:
21+
matrix:
22+
rn-version: [latest, next, nightly]
2123
steps:
2224
- name: Checkout
2325
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2426

2527
- name: Setup Node.js and deps
26-
uses: ./.github/actions/setup-deps-rn-nightly
28+
uses: ./.github/actions/setup-deps-rn-${{ matrix.rn-version }}
2729

2830
- name: Lint
2931
run: yarn lint
3032

3133
typecheck:
3234
runs-on: ubuntu-latest
33-
name: Typecheck
35+
name: Typecheck - ${{ matrix.rn-version }}
36+
strategy:
37+
matrix:
38+
rn-version: [latest, next, nightly]
3439
steps:
3540
- name: Checkout
3641
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3742

3843
- name: Setup Node.js and deps
39-
uses: ./.github/actions/setup-deps-rn-nightly
44+
uses: ./.github/actions/setup-deps-rn-${{ matrix.rn-version }}
4045

4146
- name: Typecheck
4247
run: yarn typecheck
4348

4449
test:
4550
runs-on: ubuntu-latest
46-
name: Test
51+
name: Test - ${{ matrix.rn-version }}
52+
strategy:
53+
matrix:
54+
rn-version: [latest, next, nightly]
4755
steps:
4856
- name: Checkout
4957
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5058

5159
- name: Setup Node.js and deps
52-
uses: ./.github/actions/setup-deps-rn-nightly
60+
uses: ./.github/actions/setup-deps-rn-${{ matrix.rn-version }}
5361

5462
- name: Test
5563
run: yarn test:ci

.github/workflows/react-native-latest.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/react-native-next.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)