Skip to content

refactor: move to expo #528

refactor: move to expo

refactor: move to expo #528

name: Continuous Integration
on:
pull_request:
env:
FORCE_COLOR: true
APP_ENV: example
jobs:
checks:
uses: ./.github/workflows/checks.yml
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: macos-14
platform: ios
- os: ubuntu-latest
platform: android
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- run: npm ci
- uses: ./.github/actions/cache-pods
if: matrix.platform == 'ios'
- uses: actions/setup-java@v4
if: matrix.platform == 'android'
with:
distribution: temurin
java-version-file: .java-version
- run: npm exec expo -- prebuild --platform ${{ matrix.platform }}
- run: npx react-native build-${{ matrix.platform }}