From 0947eb46f535de47507c03dbe31e1b493d25e4a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Jona=C5=A1?= Date: Thu, 27 Apr 2023 11:09:28 +0200 Subject: [PATCH] fix(repo): run nightly e2e with pnpm (#16602) --- .github/workflows/e2e-matrix.yml | 3 ++- .github/workflows/e2e-windows.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-matrix.yml b/.github/workflows/e2e-matrix.yml index 0d81b400a8c33..f71064ae69cc4 100644 --- a/.github/workflows/e2e-matrix.yml +++ b/.github/workflows/e2e-matrix.yml @@ -70,6 +70,7 @@ jobs: if: ${{ matrix.os == 'macos-latest' }} uses: actions/cache@v3 with: + lookup-only: true path: ${{ steps.homebrew-cache-dir-path.outputs.dir }} key: brew-${{ matrix.node_version }} restore-keys: | @@ -401,7 +402,7 @@ jobs: - name: Run e2e tests id: e2e-run - run: yarn nx run-many -t e2e,e2e-macos -p ${{ matrix.project }} + run: pnpm nx run-many -t e2e,e2e-macos -p ${{ matrix.project }} timeout-minutes: ${{ matrix.os_timeout }} env: GIT_AUTHOR_EMAIL: test@test.com diff --git a/.github/workflows/e2e-windows.yml b/.github/workflows/e2e-windows.yml index eacb01d427cfa..161511bb8e26b 100644 --- a/.github/workflows/e2e-windows.yml +++ b/.github/workflows/e2e-windows.yml @@ -44,6 +44,7 @@ jobs: id: cache-modules uses: actions/cache@v3 with: + lookup-only: true path: '**/node_modules' key: ${{ runner.os }}-modules-${{ matrix.node_version }}-${{ github.run_id }} @@ -67,7 +68,6 @@ jobs: needs: preinstall permissions: contents: read - runs-on: windows-latest strategy: matrix: @@ -287,7 +287,7 @@ jobs: - name: Run e2e tests id: e2e-run - run: yarn nx run ${{ matrix.project }}:e2e + run: pnpm nx run ${{ matrix.project }}:e2e timeout-minutes: 120 env: GIT_AUTHOR_EMAIL: test@test.com