ci: refs #6695 update Jenkinsfile remove unnecessary environment variables
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-20 07:40:04 +01:00
parent a1015825ed
commit 602ffc589b
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,13 @@ FROM alexmorenovn/vndev:latest
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
# Instalamos las dependencias y Cypress
RUN pnpm install --frozen-lockfile \
&& pnpm exec cypress install --cache-folder=/home/node/.cache/Cypress
&& pnpm exec cypress install
# Establecemos la variable de caché para asegurar que Cypress se encuentre correctamente
ENV CYPRESS_CACHE_FOLDER=/home/node/.cache/Cypress
ENV PATH="/home/node/.cache/Cypress:${PATH}"
WORKDIR /app