Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 87e71bc

Browse files
ci: fix node_modules cache
1 parent e8310d1 commit 87e71bc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/actions/invalidate_master_cache/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ runs:
66
- name: save_cache
77
uses: actions/cache/save@v3
88
with:
9-
path: |-
10-
node_modules
11-
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
9+
path: ./node_modules
10+
key: ${{ runner.os }}-node_modules-${{ hashFiles('./package-lock.json') }}

.github/actions/npm_install_from_cache/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
uses: actions/cache/restore@v3
99
with:
1010
path: node_modules
11-
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
11+
key: ${{ runner.os }}-node_modules-${{ hashFiles('./package-lock.json') }}
1212
- name: Install npm dependencies
1313
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
1414
run: npm install

0 commit comments

Comments
 (0)