From 2ccadb5cde1f1dcff6ed88d88024b7574312c1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20Wold=C5=99ich?= <31292499+krystofwoldrich@users.noreply.github.com> Date: Thu, 23 Feb 2023 13:50:55 +0100 Subject: [PATCH] feat(ci): Add iOS Codegen Job (#2840) --- .github/workflows/codegen.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codegen.yml b/.github/workflows/codegen.yml index 05a8f9718..3c8860928 100644 --- a/.github/workflows/codegen.yml +++ b/.github/workflows/codegen.yml @@ -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