From 63c48250061c5f01b6a1ba80c4fb24d35d38900c Mon Sep 17 00:00:00 2001 From: steven Date: Thu, 16 Mar 2023 08:36:50 +0800 Subject: [PATCH] feat: project init --- .github/workflows/e2e_android.yml | 6 +++--- Example/testHotUpdate/package.json | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e_android.yml b/.github/workflows/e2e_android.yml index d2fad83..6b28d14 100644 --- a/.github/workflows/e2e_android.yml +++ b/.github/workflows/e2e_android.yml @@ -108,7 +108,7 @@ jobs: # This appears to be 'Cache Size: ~1230 MB (1290026823 B)' based on watching action logs # Repo limit is 10GB; branch caches are independent; branches may read default branch cache. - # We don't want branches to evict main branch snapshot, so save on main, read-only all else + # We don't want branches to evict master branch snapshot, so save on master, read-only all else - name: AVD cache uses: actions/cache@v3 id: avd-cache @@ -162,7 +162,7 @@ jobs: - name: AVD Boot and Snapshot Creation # Only generate a snapshot with a cache miss # Comment the if out to generate snapshots on branch for performance testing - if: "${{ github.event.inputs.clearCaches != '' || (steps.avd-cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/main') }}" + if: "${{ github.event.inputs.clearCaches != '' || (steps.avd-cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/master') }}" uses: reactivecircus/android-emulator-runner@v2 with: api-level: ${{ matrix.api-level }} @@ -184,7 +184,7 @@ jobs: # Only generate a snapshot for saving with a cache miss # Switch the if statements via comment if generating snapshots for performance testing # if: matrix.first-boot-delay != '0' - if: "${{ github.event.inputs.clearCaches != '' || (steps.avd-cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/main') }}" + if: "${{ github.event.inputs.clearCaches != '' || (steps.avd-cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/master') }}" env: FIRST_BOOT_DELAY: ${{ matrix.first-boot-delay }} uses: reactivecircus/android-emulator-runner@v2 diff --git a/Example/testHotUpdate/package.json b/Example/testHotUpdate/package.json index 49e37e6..fcb5083 100644 --- a/Example/testHotUpdate/package.json +++ b/Example/testHotUpdate/package.json @@ -33,7 +33,8 @@ "prettier": "^2.4.1", "react-test-renderer": "18.2.0", "ts-jest": "^29.0.5", - "typescript": "^4.9.5" + "typescript": "^4.9.5", + "pod-install": "^0.1.37" }, "jest": { "preset": "react-native"