ci: refs #6695 update Jenkinsfile remove unnecessary environment variables
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
a1015825ed
commit
602ffc589b
|
@ -2,7 +2,13 @@ FROM alexmorenovn/vndev:latest
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json pnpm-lock.yaml ./
|
COPY package.json pnpm-lock.yaml ./
|
||||||
|
|
||||||
|
# Instalamos las dependencias y Cypress
|
||||||
RUN pnpm install --frozen-lockfile \
|
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
|
WORKDIR /app
|
||||||
|
|
Loading…
Reference in New Issue