Skip to content

Commit

Permalink
chore(ci): fix CI caching (#3586)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMoch authored Mar 15, 2024
1 parent 41c6785 commit f18f72a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ runs:
uses: actions/cache@v3
with:
path: |
**/node_modules
${{ inputs.working-directory }}/node_modules
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
key: ${{ runner.os }}-yarn-${{ inputs.working-directory }}-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-yarn-
${{ runner.os }}-yarn-${{ inputs.working-directory }}-${{ hashFiles('yarn.lock') }}-
${{ runner.os }}-yarn-${{ inputs.working-directory }}
- name: Install dependencies
working-directory: ${{ inputs.working-directory }}
if: steps.yarn-cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit f18f72a

Please sign in to comment.