Skip to content

Commit

Permalink
chore: updated android action
Browse files Browse the repository at this point in the history
  • Loading branch information
jerson committed Jul 19, 2024
1 parent 841460b commit 50efe3d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
1 change: 0 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
- run: |
du -sch /usr/local/lib/android/sdk/ndk/*
rm -rf ~/.gradle
rm -rf /usr/local/lib/android/sdk/ndk/
- run: yarn example start &
Expand Down
32 changes: 20 additions & 12 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,40 @@ name: iOS

on:
workflow_dispatch:
# pull_request:
# push:
# tags:
# - 'v*'
pull_request:
push:
tags:
- 'v*'

jobs:
e2e:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: ios-cache
- id: yarn-cache
uses: actions/cache@v3
with:
path: |
example/ios/build/*
example/ios/Pods/*
key: ios
- name: Set up Node
run: |
**/node_modules
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-yarn-
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- run: |
npm install -g detox-cli
npm install -g yarn
npm install -g node-gyp
- name: Install Detox
run: |
brew tap wix/brew
brew install applesimutils
- run: yarn
- if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --immutable
shell: bash
- run: yarn example build:ios
- run: yarn example start &
timeout-minutes: 20
Expand Down

0 comments on commit 50efe3d

Please sign in to comment.