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 +