Skip to content

Commit

Permalink
Wingman Action on ubuntu-latest runner fix detox
Browse files Browse the repository at this point in the history
  • Loading branch information
n-valchev committed Jul 11, 2024
1 parent 58e3b3e commit 903de78
Showing 1 changed file with 10 additions and 25 deletions.
35 changes: 10 additions & 25 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 903de78

Please sign in to comment.