Skip to content

Commit

Permalink
feat(ci): Add iOS Codegen Job (#2840)
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich authored Feb 23, 2023
1 parent 86d6d2c commit 2ccadb5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
platform: ["android"] # "ios" will be added after codegen is fixed
platform: ["android", "ios"]
include:
- platform: android
command: |
cd sample-new-architecture/android
./gradlew generateCodegenArtifactsFromSchema
- platform: ios
command: |
cd sample-new-architecture/ios
node ../node_modules/react-native/scripts/generate-codegen-artifacts.js \
--path .. \
--outputPath codegen
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down

0 comments on commit 2ccadb5

Please sign in to comment.