From 903de78b8c029e0bbe67a7928e7da0e1529633c8 Mon Sep 17 00:00:00 2001 From: Nikolay Valchev Date: Thu, 11 Jul 2024 15:57:52 +0300 Subject: [PATCH] Wingman Action on ubuntu-latest runner fix detox --- .github/workflows/ci.yaml | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 120dd92..5c49fa6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,11 @@ on: jobs: ci: - runs-on: flyci-macos-14-m2 + permissions: + id-token: write + contents: read + + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -26,40 +30,21 @@ jobs: - name: Install node_modules run: | - set -euxo pipefail yarn install --frozen-lockfile - - name: Cache Pods - uses: actions/cache@v4 - id: pods-cache - with: - path: ./ios/Pods - key: ${{ runner.os }}-pods-${{ hashFiles('ios/Podfile.lock') }} - - - name: Install pods - working-directory: ios - env: - NO_FLIPPER: 1 - run: | - set -euxo pipefail - bundle exec pod install - - name: Run eslint run: | - set -euxo pipefail yarn lint - name: Run tests run: | - set -euxo pipefail yarn test - - name: Build iOS - run: | - set -euxo pipefail - yarn build-ios - - name: Build Android run: | - set -euxo pipefail yarn build-android + + - uses: fly-ci/wingman-action@main + if: failure() + with: + flyci-url: https://dev.api.flyci.dev