From 4623d1a8b69673f55ab02c25422ee41e51c275c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Thu, 17 Apr 2025 14:03:51 +0200 Subject: [PATCH] Make a copy of everything to work on a clean sheet --- .github/docker-compose.test.yml | 6 ++++-- .github/workflows/e2e.frontend.yaml | 4 ---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/docker-compose.test.yml b/.github/docker-compose.test.yml index c2912011ce..109293cccf 100644 --- a/.github/docker-compose.test.yml +++ b/.github/docker-compose.test.yml @@ -18,9 +18,11 @@ services: image: node:20-alpine working_dir: /app volumes: - - ..:/app + - ..:/src command: | - sh -c "echo \"Building frontend\" && \ + sh -c " cp -r /src /app && \ + echo \"Building frontend\" && \ + corepack enable && \ yarn --cwd ./frontend install && \ echo \"Waiting for Unleash to start\" && \ npx wait-on http://unleash:4242/health && \ diff --git a/.github/workflows/e2e.frontend.yaml b/.github/workflows/e2e.frontend.yaml index dcea2a67d1..3f7614c126 100644 --- a/.github/workflows/e2e.frontend.yaml +++ b/.github/workflows/e2e.frontend.yaml @@ -21,10 +21,6 @@ jobs: echo "$GITHUB_CONTEXT" - name: Checkout uses: actions/checkout@v4 - - name: Install dependencies - run: | - corepack enable - yarn --cwd ./frontend install - name: Start Unleash test instance run: | docker compose -f .github/docker-compose.test.yml up -d --wait -t 90