Skip to content

Commit ceb364d

Browse files
committed
fix(ci): invalidate cache
1 parent 207da82 commit ceb364d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
uses: actions/cache@v4
2626
with:
2727
path: ~/.npm
28-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
28+
key: ${{ runner.os }}-node20-${{ hashFiles('**/package-lock.json') }}
2929
restore-keys: |
30-
${{ runner.os }}-node-
30+
${{ runner.os }}-node20-
3131
- run: npm ci --legacy-peer-deps
3232
- run: npm run lint
3333

@@ -51,9 +51,9 @@ jobs:
5151
uses: actions/cache@v4
5252
with:
5353
path: ~/.npm
54-
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
54+
key: ${{ runner.os }}-node20-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
5555
restore-keys: |
56-
${{ runner.os }}-node-${{ matrix.node }}
56+
${{ runner.os }}-node20-${{ matrix.node }}
5757
- run: npm ci --legacy-peer-deps
5858
- run: npm run test:coverage
5959

0 commit comments

Comments
 (0)