From 59e2d7e650440359179ecbe7dd9df58bdcfea4b3 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni <6173598+dpschen@users.noreply.github.com> Date: Tue, 15 Apr 2025 09:40:30 +0200 Subject: [PATCH] feat: remove cypress install v2 (#664) Why cypress install was needed before: [see this issue](https://github.com/cypress-io/github-action/issues/1044#issuecomment-2663220655) It's also mentioned [in the cypress github action readme](https://github.com/cypress-io/github-action/tree/v6/?tab=readme-ov-file#pnpm) --- .github/workflows/test.yml | 1 - frontend/.npmrc | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c4cc949e..048cc1f48 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -264,7 +264,6 @@ jobs: - name: Build frontend for test run: | cd frontend - pnpm cypress install pnpm build:test - name: Run api env: diff --git a/frontend/.npmrc b/frontend/.npmrc index 2ce1f671b..40653bc1d 100644 --- a/frontend/.npmrc +++ b/frontend/.npmrc @@ -1,2 +1,6 @@ # https://github.com/pnpm/pnpm/issues/8378#issuecomment-2636152421 public-hoist-pattern[]=*eslint* + +# Make sure to install Cypress binary +# https://github.com/cypress-io/github-action/blob/108b8684ae52e735ff7891524cbffbcd4be5b19f/README.md#pnpm +side-effects-cache=false