From 1ef09d9de619d4e2ee54b8f301217788d4c6c8d9 Mon Sep 17 00:00:00 2001 From: Cody Dracars Date: Thu, 30 Jan 2025 17:56:00 -0600 Subject: [PATCH] Add cache cleanup step before installing dependencies in deployment workflow --- .github/workflows/deploy-stage.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy-stage.yml b/.github/workflows/deploy-stage.yml index 129a99d..e318594 100644 --- a/.github/workflows/deploy-stage.yml +++ b/.github/workflows/deploy-stage.yml @@ -45,6 +45,9 @@ jobs: restore-keys: | ${{ runner.os }}-yarn-nextjs- + - name: Clean up previous caches + run: rm -rf node_modules .next + - name: Install Dependencies run: yarn install --immutable