name: EAS Build on: workflow_dispatch: inputs: platform: description: Platform to build type: choice options: - all - ios - android default: all profile: description: Build profile type: choice options: - production - development default: production push: branches: [main] paths: - apps/native/** - packages/api/** - packages/i18n/** jobs: build: name: EAS Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 22 - uses: oven-sh/setup-bun@v2 - name: Setup EAS uses: expo/expo-github-action@v8 with: eas-version: latest token: ${{ secrets.EXPO_TOKEN }} - name: Install dependencies run: bun install --frozen-lockfile - name: Extract i18n template run: bunx lingui extract-template - name: Build working-directory: apps/native run: eas build --platform ${{ inputs.platform || 'all' }} --profile ${{ inputs.profile || 'production' }} --non-interactive --no-wait