From 958a471e88b76bf59e5c590ac7c71a0edf884de1 Mon Sep 17 00:00:00 2001 From: Kudo Chien Date: Wed, 21 Aug 2024 02:28:15 +0800 Subject: [PATCH] [ci] add react-native 0.75 testing (#211) --- .github/workflows/android.yml | 10 ++++------ scripts/gen_project.py | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 1bb6258..3a5a838 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -22,14 +22,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rn-version: ['0.74', '0.73'] + rn-version: ['0.75', '0.74'] v8-android-variant: [v8-android-jit, v8-android-jit-nointl, v8-android, v8-android-nointl] - # include: - # - rn-version: '0.69' - # v8-android-variant: v8-android-jit - # - rn-version: '0.68' - # v8-android-variant: v8-android-jit + include: + - rn-version: '0.73' + v8-android-variant: v8-android-jit steps: - uses: actions/checkout@v4 diff --git a/scripts/gen_project.py b/scripts/gen_project.py index f5dc58e..5e09120 100644 --- a/scripts/gen_project.py +++ b/scripts/gen_project.py @@ -46,7 +46,7 @@ def parse_args(): def main(): args = parse_args() subprocess.run( - ["npx", "react-native", "init", args.project_dir, "--pm", "bun", "--version", args.rn_version] + ["npx", "@react-native-community/cli", "init", args.project_dir, "--pm", "bun", "--version", args.rn_version] ) install_tarball = None