Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): Add iOS Codegen Job #2840

Merged
merged 4 commits into from
Feb 23, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
krystofwoldrich marked this conversation as resolved.
Show resolved Hide resolved
node node_modules/react-native/scripts/generate-codegen-artifacts.js \
--path . \
--outputPath ios/codegen
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down