diff --git a/.github/workflows/e2e-tests-ios.yml b/.github/workflows/e2e-tests-ios.yml index 40237258..b8e7b434 100644 --- a/.github/workflows/e2e-tests-ios.yml +++ b/.github/workflows/e2e-tests-ios.yml @@ -18,11 +18,6 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 14.18.1 - cache: 'yarn' - - uses: actions/cache@v3 id: cache with: @@ -31,6 +26,12 @@ jobs: ./examples/Rn071/ios/DerivedData/Build/Products/Release-iphonesimulator/Rn071.app.dSYM key: ${{ runner.os }}-${{ hashFiles('src/**', 'ios/**', 'examples/Rn071/src/**') }} + - uses: actions/setup-node@v3 + if: steps.cache.outputs.cache-hit != 'true' + with: + node-version: 14.18.1 + cache: 'yarn' + - name: Install npm dependencies (example project) if: steps.cache.outputs.cache-hit != 'true' working-directory: ./examples/Rn071/