Skip to content

Commit ec56dd6

Browse files
authored
ci: enable prebuild for react-native (#885)
1 parent 4e5b9af commit ec56dd6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build-templates.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
XCODE_VERSION: 16.3
2222
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
2323
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
24+
RCT_USE_RN_DEP: 1
25+
RCT_USE_PREBUILT_RNCORE: 1
2426

2527
strategy:
2628
fail-fast: false
@@ -249,6 +251,7 @@ jobs:
249251
uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
250252
with:
251253
xcode-version: ${{ env.XCODE_VERSION }}
254+
252255
- name: Install cocoapods
253256
if: env.ios_build == 1 && env.turbo_cache_hit_ios != 1
254257
working-directory: ${{ env.work_dir }}

packages/create-react-native-library/templates/native-common-example/turbo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"outputs": []
2020
},
2121
"build:ios": {
22-
"env": ["RCT_NEW_ARCH_ENABLED"],
22+
"env": ["RCT_NEW_ARCH_ENABLED", "RCT_USE_RN_DEP", "RCT_USE_PREBUILT_RNCORE"],
2323
"inputs": [
2424
"package.json",
2525
"*.podspec",

0 commit comments

Comments
 (0)