Skip to content

Commit

Permalink
chore(ghactions): Fix cache in workflow (#879)
Browse files Browse the repository at this point in the history
Seperated caches for each part of run, realised we were using same cache for both.
  • Loading branch information
bubonicfred authored Jun 25, 2024
1 parent 33bb9a5 commit 8dec4e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/runtests.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node18-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-node18-
- uses: actions/setup-node@v4
with:
node-version: "18.13.0"
Expand Down Expand Up @@ -74,9 +74,9 @@ jobs:
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node14-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-node14-
- name: Cache Chromedriver
uses: actions/cache@v4
with:
Expand Down

0 comments on commit 8dec4e4

Please sign in to comment.