Skip to content

Commit

Permalink
fixed cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
btaillon-coveo committed Aug 25, 2023
1 parent dd2cf96 commit 522890e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ runs:
node_modules/
utils/atomic-storybook/node_modules/
!node_modules/.cache/nx/
key: npm-${{ hashFiles('**/package-lock.json') }}
key: npm-${{ hashFiles('package-lock.json') }}-${{ hashFiles('utils/atomic-storybook/package-lock.json') }}
- uses: actions/cache@v3
with:
path: ~/.cache/Cypress
key: cy-${{ hashFiles('package-lock.json') }}-${{ hashFiles('utils/atomic-storybook/package-lock.json') }}
- uses: actions/cache@v3
id: nx-cache
with:
path: node_modules/.cache/nx
key: nx-${{ github.sha }}
- uses: actions/cache@v3
with:
path: ~/.cache/Cypress
key: cy-${{ hashFiles('**/package-lock.json') }}
- if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
shell: bash
Expand Down

0 comments on commit 522890e

Please sign in to comment.