Skip to content

Commit

Permalink
⚗️Fix path & add hash to restore key
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPoblete committed Sep 10, 2024
1 parent 9c16983 commit 9aa31bc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- uses: actions/[email protected]
- uses: actions/cache@v3
with:
path: ~/.yarn/cache
path: ~/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
- name: Set up Node.js
uses: actions/[email protected]
Expand Down Expand Up @@ -48,10 +48,10 @@ jobs:
- uses: actions/[email protected]
- uses: actions/cache@v3
with:
path: ~/.yarn/cache
path: ~/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
- name: Set up Node.js
uses: actions/[email protected]
Expand All @@ -67,10 +67,10 @@ jobs:
- uses: actions/[email protected]
- uses: actions/cache@v3
with:
path: ~/.yarn/cache
path: ~/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
- name: Set up Node.js
uses: actions/[email protected]
Expand Down

0 comments on commit 9aa31bc

Please sign in to comment.