diff --git a/.github/workflows/e2e-matrix.yml b/.github/workflows/e2e-matrix.yml index 2859dba06b..59be1d9517 100644 --- a/.github/workflows/e2e-matrix.yml +++ b/.github/workflows/e2e-matrix.yml @@ -11,6 +11,9 @@ on: required: false default: false +env: + CYPRESS_CACHE_FOLDER: '.cypress' + permissions: {} jobs: preinstall: @@ -347,6 +350,13 @@ jobs: restore-keys: | brew- + - name: Cache Cypress + id: cache-cypress + uses: actions/cache@v3 + with: + path: '.cypress' + key: ${{ runner.os }}-cypress + - name: Install applesimutils, reset ios simulators if: ${{ matrix.os == 'macos-latest' }} run: | diff --git a/.github/workflows/e2e-windows.yml b/.github/workflows/e2e-windows.yml index a2bc8638bb..dd173f8507 100644 --- a/.github/workflows/e2e-windows.yml +++ b/.github/workflows/e2e-windows.yml @@ -11,6 +11,9 @@ on: required: false default: false +env: + CYPRESS_CACHE_FOLDER: '.cypress' + permissions: {} jobs: preinstall: @@ -259,6 +262,13 @@ jobs: if: steps.cache-modules.outputs.cache-hit != 'true' run: yarn install --prefer-offline --frozen-lockfile --non-interactive + - name: Cache Cypress + id: cache-cypress + uses: actions/cache@v3 + with: + path: '.cypress' + key: ${{ runner.os }}-cypress + - name: Configure git metadata (needed for lerna smoke tests) run: | git config --global user.email test@test.com