Skip to content

Commit

Permalink
Added missing verification for cache to work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
VascoSaraiva authored Oct 29, 2023
1 parent 63eeed0 commit 23cf864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -64,4 +64,4 @@ jobs:
- name: Deploy
run: npx netlify-cli deploy --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} --prod



0 comments on commit 23cf864

Please sign in to comment.