From d12214c6890dc664d1dc45d2b00fc782e999e6c1 Mon Sep 17 00:00:00 2001 From: Reece Date: Thu, 25 Sep 2025 12:40:43 +0100 Subject: [PATCH] Clean and install frontend dependencies in build workflow --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b38abe5dc..5efa33dce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -145,8 +145,8 @@ jobs: node-version: '20' cache: 'npm' cache-dependency-path: frontend/package-lock.json - - name: Install frontend dependencies - run: cd frontend && npm ci + - name: Clean and install frontend dependencies + run: cd frontend && rm -rf node_modules package-lock.json && npm install - name: Lint frontend run: cd frontend && npm run lint - name: Build frontend