From f0a73696f532c193627c2d207c5177e641fb2e28 Mon Sep 17 00:00:00 2001 From: Alois Klink Date: Mon, 6 Mar 2023 22:57:22 +0000 Subject: [PATCH] ci(e2e): skip caching in actions/setup-node Skip caching `pnpm` in `actions/setup-node`, because the `cypress-io/github-action` natively supports caching `pnpm`, as of [cypress-io/github-action@v4.2.0][1]. [1]: https://github.com/cypress-io/github-action/releases/tag/v4.2.0 --- .github/workflows/e2e.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index aff5852db..f877ca265 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -21,11 +21,7 @@ jobs: - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 - # Need to skip setup if Cypress run is skipped, otherwise an error - # is thrown since the pnpm cache step fails - if: ${{ ( env.CYPRESS_RECORD_KEY != '' ) || ( matrix.containers == 1 ) }} with: - cache: pnpm node-version: ${{ matrix.node-version }} # Install NPM dependencies, cache them correctly