feat: fix
This commit is contained in:
parent
e76747f7d3
commit
706cd8c415
54
.github/workflows/e2e_android.yml
vendored
54
.github/workflows/e2e_android.yml
vendored
@ -4,41 +4,41 @@ on: push
|
||||
jobs:
|
||||
e2e-android:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
# steps:
|
||||
# - name: Checkout repository
|
||||
# uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: yarn
|
||||
node-version-file: .nvmrc
|
||||
# - name: Setup Node.js
|
||||
# uses: actions/setup-node@v3
|
||||
# with:
|
||||
# cache: yarn
|
||||
# node-version-file: .nvmrc
|
||||
|
||||
- name: Install Yarn dependencies
|
||||
run: yarn --frozen-lockfile --prefer-offline
|
||||
# - name: Install Yarn dependencies
|
||||
# run: yarn --frozen-lockfile --prefer-offline
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
cache: gradle
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
# - name: Setup Java
|
||||
# uses: actions/setup-java@v3
|
||||
# with:
|
||||
# cache: gradle
|
||||
# distribution: temurin
|
||||
# java-version: 17
|
||||
|
||||
- name: Cache Detox build
|
||||
id: cache-detox-build
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: android/app/build
|
||||
key: ${{ runner.os }}-detox-build
|
||||
restore-keys: |
|
||||
${{ runner.os }}-detox-build
|
||||
# - name: Cache Detox build
|
||||
# id: cache-detox-build
|
||||
# uses: actions/cache@v3
|
||||
# with:
|
||||
# path: android/app/build
|
||||
# key: ${{ runner.os }}-detox-build
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-detox-build
|
||||
|
||||
- name: Detox build
|
||||
run: yarn build:android-debug
|
||||
# - name: Detox build
|
||||
# run: yarn build:android-debug
|
||||
|
||||
- name: Get device name
|
||||
id: device
|
||||
run: node -e "console.log('AVD_NAME=' + require('./.detoxrc').devices.emulator.device.avdName)" >> $GITHUB_OUTPUT
|
||||
run: node -e "console.log('AVD_NAME=' + require('./Example/testHotUpdate/detox.config.js').devices.emulator.device.avdName)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Detox test
|
||||
uses: reactivecircus/android-emulator-runner@v2
|
||||
|
Loading…
Reference in New Issue
Block a user