Skip to content

Commit 78fdf42

Browse files
committed
chore(workflows): run Nitro codegen in iOS and Android build jobs
1 parent ca1bbdf commit 78fdf42

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/android-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ jobs:
4949
- name: Install dependencies (bun)
5050
run: bun install
5151

52+
- name: Generate Nitro modules (codegen)
53+
run: |
54+
npm run codegen
55+
5256
- name: Disable new architecture in gradle.properties
5357
if: matrix.arch == 'old'
5458
run: sed -i "s/newArchEnabled=true/newArchEnabled=false/g" example/android/gradle.properties

.github/workflows/ios-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ jobs:
6464
- name: Install dependencies (bun)
6565
run: bun install
6666

67+
- name: Generate Nitro modules (codegen)
68+
run: |
69+
npm run codegen
70+
6771
- name: Disable new architecture in Podfile
6872
if: matrix.arch == 'old'
6973
run: sed -i "" "s/ENV\['RCT_NEW_ARCH_ENABLED'\] = '1'/ENV['RCT_NEW_ARCH_ENABLED'] = '0'/g" example/ios/Podfile

0 commit comments

Comments
 (0)