From 95b99ab7aeb9c45b36551df8d2685da71536671a Mon Sep 17 00:00:00 2001 From: Mathijs de Bruin Date: Thu, 17 Oct 2024 14:12:08 +0100 Subject: [PATCH] Fixup for previosu patch. --- .github/actions/pnpm-node-install/action.yaml | 5 +++++ .github/workflows/e2e-tests.yaml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/actions/pnpm-node-install/action.yaml b/.github/actions/pnpm-node-install/action.yaml index d3bd27338d..0095e540c5 100644 --- a/.github/actions/pnpm-node-install/action.yaml +++ b/.github/actions/pnpm-node-install/action.yaml @@ -8,6 +8,10 @@ inputs: pnpm-version: description: pnpm version required: true + pnpm-skip-install: + description: Skip install. + required: false + default: false pnpm-install-args: description: Extra arguments for pnpm install, e.g. --no-frozen-lockfile. @@ -25,3 +29,4 @@ runs: - name: Install JS dependencies run: pnpm install ${{ inputs.pnpm-install-args }} shell: bash + if: ${{ !inputs.pnpm-skip-install }} diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index 97d505f9e8..1b16b3e9ab 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -19,8 +19,8 @@ jobs: with: node-version: 22.7.0 pnpm-version: 9.7.0 - pnpm-install-args: --no-frozen-lockfile - - name: Install Cypress + skip-install: true + - name: Install depdendencies and Cypress uses: cypress-io/github-action@v6 with: runTests: false