From 0189078917922fd356bfe0b2926bca0954504f4b Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Wed, 29 Jan 2025 14:06:47 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85(CI)=20fix=20test-e2e-other-browser=20?= =?UTF-8?q?job?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A recent update to the impress-frontend workflow caused the test-e2e-other-browser job to fail. This commit fixes the issue. --- .github/workflows/impress-frontend.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/impress-frontend.yml b/.github/workflows/impress-frontend.yml index ae07bf2b..c5d17c90 100644 --- a/.github/workflows/impress-frontend.yml +++ b/.github/workflows/impress-frontend.yml @@ -127,8 +127,17 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Install frontend dependencies - uses: ./.github/workflows/front-dependencies-installation.yml + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "20.x" + + - name: Restore the frontend cache + uses: actions/cache@v4 + with: + path: "src/frontend/**/node_modules" + key: front-node_modules-${{ hashFiles('src/frontend/**/yarn.lock') }} + fail-on-cache-miss: true - name: Set e2e env variables run: cat env.d/development/common.e2e.dist >> env.d/development/common.dist