Skip to content

Commit

Permalink
[Tech] Désactive les downloads Puppeteer pour les jobs non Puppeteer (#…
Browse files Browse the repository at this point in the history
…2958)

## Linked issues

None

----

- [ ] Tests E2E (Cypress)
  • Loading branch information
ivangabriele authored Feb 22, 2024
2 parents cfd753f + 5518a87 commit 58f684a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ jobs:
name: Run frontend unit tests
needs: version
runs-on: ubuntu-22.04
env:
PUPPETEER_SKIP_DOWNLOAD: "true"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -205,6 +207,7 @@ jobs:
ENV_PROFILE: ${{ needs.version.outputs.ENV_PROFILE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MONITORFISH_VERSION: ${{ needs.version.outputs.VERSION }}
PUPPETEER_SKIP_DOWNLOAD: "true"
VITE_CYPRESS_PORT: 8880
VERSION: ${{ needs.version.outputs.VERSION }}
steps:
Expand Down Expand Up @@ -262,6 +265,7 @@ jobs:
ENV_PROFILE: ${{ needs.version.outputs.ENV_PROFILE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MONITORFISH_VERSION: ${{ needs.version.outputs.VERSION }}
PUPPETEER_SKIP_DOWNLOAD: "true"
VITE_CYPRESS_PORT: 8880
VERSION: ${{ needs.version.outputs.VERSION }}
steps:
Expand Down
1 change: 1 addition & 0 deletions infra/docker/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ ARG VERSION
ARG ENV_PROFILE
ENV CI=true
ENV ENV_PROFILE=$ENV_PROFILE
ENV PUPPETEER_SKIP_DOWNLOAD=true

RUN echo ${ENV_PROFILE}

Expand Down

0 comments on commit 58f684a

Please sign in to comment.