cache cypress binary

This commit is contained in:
Elio Bischof
2025-08-02 06:37:25 +02:00
parent c066e7cd0d
commit b37eddb7e6
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ ENV SHELL=/bin/bash \
RUN apt-get update && \ RUN apt-get update && \
apt-get --no-install-recommends install -y \ apt-get --no-install-recommends install -y \
# Cypress dependencies
libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb && \ libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb && \
apt-get clean && \ apt-get clean && \
corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@10.13.1 --activate corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@10.13.1 --activate

View File

@@ -9,6 +9,7 @@ services:
environment: environment:
CORE_MOCK_STUBS_URL: http://localhost:22220/v1/stubs CORE_MOCK_STUBS_URL: http://localhost:22220/v1/stubs
LOGIN_BASE_URL: http://localhost:3001/ui/v2/login LOGIN_BASE_URL: http://localhost:3001/ui/v2/login
CYPRESS_CACHE_FOLDER: /workspaces/.artifacts/cypress
network_mode: service:mock-zitadel network_mode: service:mock-zitadel
depends_on: depends_on:
login-integration: login-integration: