From 067744250a209ad03280af18ac34fce82a9c2a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Jastrze=CC=A8bski?= Date: Thu, 8 Jan 2026 10:03:04 +0100 Subject: [PATCH 1/2] chore: nigthtly CI for v13 --- .github/workflows/nightly-v13.yaml | 96 ++++++++++++++++++++++++++++++ .github/workflows/nightly.yaml | 2 +- 2 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/nightly-v13.yaml diff --git a/.github/workflows/nightly-v13.yaml b/.github/workflows/nightly-v13.yaml new file mode 100644 index 000000000..ea7234da2 --- /dev/null +++ b/.github/workflows/nightly-v13.yaml @@ -0,0 +1,96 @@ +name: Nightly v13 - React Native Checks +on: + # Runs every night at 4 AM + schedule: + - cron: '0 4 * * *' + workflow_dispatch: + +# Set minimal permissions by default +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'v13-stable')}} + +jobs: + lint: + runs-on: ubuntu-latest + name: Lint - ${{ matrix.rn-version }} + strategy: + matrix: + rn-version: [latest, next, nightly] + steps: + - name: Checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + ref: v13-stable + + - name: Setup Node.js and deps (latest) + if: matrix.rn-version == 'latest' + uses: ./.github/actions/setup-deps-rn-latest + + - name: Setup Node.js and deps (next) + if: matrix.rn-version == 'next' + uses: ./.github/actions/setup-deps-rn-next + + - name: Setup Node.js and deps (nightly) + if: matrix.rn-version == 'nightly' + uses: ./.github/actions/setup-deps-rn-nightly + + - name: Lint + run: yarn lint + + typecheck: + runs-on: ubuntu-latest + name: Typecheck - ${{ matrix.rn-version }} + strategy: + matrix: + rn-version: [latest, next, nightly] + steps: + - name: Checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + ref: v13-stable + + - name: Setup Node.js and deps (latest) + if: matrix.rn-version == 'latest' + uses: ./.github/actions/setup-deps-rn-latest + + - name: Setup Node.js and deps (next) + if: matrix.rn-version == 'next' + uses: ./.github/actions/setup-deps-rn-next + + - name: Setup Node.js and deps (nightly) + if: matrix.rn-version == 'nightly' + uses: ./.github/actions/setup-deps-rn-nightly + + - name: Typecheck + run: yarn typecheck + + test: + runs-on: ubuntu-latest + name: Test - ${{ matrix.rn-version }} + strategy: + matrix: + rn-version: [latest, next, nightly] + steps: + - name: Checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + ref: v13-stable + + - name: Setup Node.js and deps (latest) + if: matrix.rn-version == 'latest' + uses: ./.github/actions/setup-deps-rn-latest + + - name: Setup Node.js and deps (next) + if: matrix.rn-version == 'next' + uses: ./.github/actions/setup-deps-rn-next + + - name: Setup Node.js and deps (nightly) + if: matrix.rn-version == 'nightly' + uses: ./.github/actions/setup-deps-rn-nightly + + - name: Test + run: yarn test:ci diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 8d0e220ca..93fbcb3db 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -1,4 +1,4 @@ -name: React Native Nightly +name: Nightly - React Native Checks on: # Runs every night at 4 AM schedule: From 9fad4a991de3f380074d232e70e4f869437189f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Jastrze=CC=A8bski?= Date: Thu, 8 Jan 2026 10:04:00 +0100 Subject: [PATCH 2/2] . --- .github/actions/setup-deps-rn-next/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-deps-rn-next/action.yml b/.github/actions/setup-deps-rn-next/action.yml index b6922a388..7c15b6c48 100644 --- a/.github/actions/setup-deps-rn-next/action.yml +++ b/.github/actions/setup-deps-rn-next/action.yml @@ -28,5 +28,5 @@ runs: - name: Switch to React Native Next run: | - yarn add -D react-native@next @react-native/babel-preset@next + yarn add -D react-native@next @react-native/babel-preset@next react@19.2.3 shell: bash