diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f3beabf..81ec3983 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,73 +68,74 @@ jobs: TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }} run: cd apps/sovoli.com && pnpm deploy:trigger-prod - build-for-IOS: - name: Build for iOS - needs: build - runs-on: macos-latest - concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}-build-ios - cancel-in-progress: true - env: - TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: ${{ vars.TURBO_TEAM }} - permissions: - contents: read - # REQUIRED: Allow comments of PRs - pull-requests: write # Allow comments on PRs - # REQUIRED: Allow updating fingerprint in action caches - actions: write - steps: - - name: 🏗 Check out code - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - uses: pnpm/action-setup@v3 - with: - version: 9 - - - name: 🏗 Cache turbo build setup - uses: actions/cache@v4 - with: - path: .turbo - key: ${{ runner.os }}-turbo-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-turbo- - - - name: 🏗 Setup Node.js environment - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: "pnpm" - - # - name: Copy env - # shell: bash - # run: cp .env.example .env - - - name: 🏗 Setup EAS - uses: expo/expo-github-action@v8 - with: - eas-version: latest - token: ${{ secrets.EXPO_TOKEN }} - - - name: 📦 Install dependencies - run: pnpm install - - - name: EAS Build - run: cd apps/mobile && eas build -p ios --profile preview --local --output build.ipa --non-interactive - env: - NODE_ENV: production - - - name: 🚀 Update Mobile - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - run: cd apps/mobile && eas update --auto --non-interactive - - - name: 🚀 Preview Mobile - if: github.event_name == 'pull_request' - uses: expo/expo-github-action/preview@v8 - id: preview - with: - command: eas update --auto --non-interactive - working-directory: apps/mobile - comment: true + # turn off for now until we can get the expo action working + # build-for-IOS: + # name: Build for iOS + # needs: build + # runs-on: macos-latest + # concurrency: + # group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}-build-ios + # cancel-in-progress: true + # env: + # TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + # TURBO_TEAM: ${{ vars.TURBO_TEAM }} + # permissions: + # contents: read + # # REQUIRED: Allow comments of PRs + # pull-requests: write # Allow comments on PRs + # # REQUIRED: Allow updating fingerprint in action caches + # actions: write + # steps: + # - name: 🏗 Check out code + # uses: actions/checkout@v4 + # with: + # fetch-depth: 2 + + # - uses: pnpm/action-setup@v3 + # with: + # version: 9 + + # - name: 🏗 Cache turbo build setup + # uses: actions/cache@v4 + # with: + # path: .turbo + # key: ${{ runner.os }}-turbo-${{ github.sha }} + # restore-keys: | + # ${{ runner.os }}-turbo- + + # - name: 🏗 Setup Node.js environment + # uses: actions/setup-node@v4 + # with: + # node-version: 20 + # cache: "pnpm" + + # # - name: Copy env + # # shell: bash + # # run: cp .env.example .env + + # - name: 🏗 Setup EAS + # uses: expo/expo-github-action@v8 + # with: + # eas-version: latest + # token: ${{ secrets.EXPO_TOKEN }} + + # - name: 📦 Install dependencies + # run: pnpm install + + # - name: EAS Build + # run: cd apps/mobile && eas build -p ios --profile preview --local --output build.ipa --non-interactive + # env: + # NODE_ENV: production + + # - name: 🚀 Update Mobile + # if: github.event_name == 'push' && github.ref == 'refs/heads/main' + # run: cd apps/mobile && eas update --auto --non-interactive + + # - name: 🚀 Preview Mobile + # if: github.event_name == 'pull_request' + # uses: expo/expo-github-action/preview@v8 + # id: preview + # with: + # command: eas update --auto --non-interactive + # working-directory: apps/mobile + # comment: true