Skip to content

Commit 2ccadb5

Browse files
feat(ci): Add iOS Codegen Job (#2840)
1 parent 86d6d2c commit 2ccadb5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/codegen.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,18 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
platform: ["android"] # "ios" will be added after codegen is fixed
15+
platform: ["android", "ios"]
1616
include:
1717
- platform: android
1818
command: |
1919
cd sample-new-architecture/android
2020
./gradlew generateCodegenArtifactsFromSchema
21+
- platform: ios
22+
command: |
23+
cd sample-new-architecture/ios
24+
node ../node_modules/react-native/scripts/generate-codegen-artifacts.js \
25+
--path .. \
26+
--outputPath codegen
2127
steps:
2228
- uses: actions/checkout@v3
2329
- uses: actions/setup-node@v3

0 commit comments

Comments
 (0)