From 065d7bc64e1374170448fc60351fa7cc0c9478ed Mon Sep 17 00:00:00 2001 From: Yanick Minder Date: Fri, 15 Nov 2024 11:09:09 +0100 Subject: [PATCH] demo deploy improve cypress config --- .github/workflows/demo-deploy-action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/demo-deploy-action.yml b/.github/workflows/demo-deploy-action.yml index db8b66a291..d83687e26a 100644 --- a/.github/workflows/demo-deploy-action.yml +++ b/.github/workflows/demo-deploy-action.yml @@ -79,6 +79,10 @@ jobs: e2e-docker: runs-on: ubuntu-24.04 + container: + image: cypress/browsers:node-22.11.0-chrome-130.0.6723.116-1-ff-132.0.1-edge-130.0.2849.68-1 + options: --user 1001 + needs: [build-docker-image, read-version, get-e2e-files] strategy: fail-fast: false @@ -108,7 +112,6 @@ jobs: - name: Cypress run e2e tests uses: cypress-io/github-action@v6 with: - build: npm i -D cypress working-directory: frontend install: false wait-on: 'http://pitc.okr.localhost:8080/config, http://localhost:8544' @@ -117,6 +120,8 @@ jobs: headed: false config: baseUrl=http://pitc.okr.localhost:8080 spec: cypress/e2e/${{ matrix.file }} + env: + CYPRESS_INSTALL_BINARY: 0 - uses: actions/upload-artifact@v4 if: always()