From 23cf86488e1daf3c6635fa9f24791e4bbbe96a01 Mon Sep 17 00:00:00 2001 From: Vasco Saraiva <99341937+VascoSaraiva@users.noreply.github.com> Date: Sun, 29 Oct 2023 20:43:49 +0000 Subject: [PATCH] Added missing verification for cache to work properly --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 438b970..ba45c69 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,7 +43,7 @@ jobs: - name: Install dependencies run: npm ci - if: success() + if: steps.node_modules.outputs.cache-hit != 'true' - name: Run Eslint run: npm run lint @@ -64,4 +64,4 @@ jobs: - name: Deploy run: npx netlify-cli deploy --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} --prod - \ No newline at end of file +