Skip to content

Commit 7404e48

Browse files
committed
fix hashFiles arguments in CI
1 parent 3a793f8 commit 7404e48

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/cache@v3
3232
with:
3333
path: node_modules
34-
key: nodeModules-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node-version }}
34+
key: nodeModules-${{ hashFiles('./package-lock.json') }}-${{ matrix.node-version }}
3535

3636
- name: Install dependencies
3737
run: npm install

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: actions/cache@v3
3737
with:
3838
path: node_modules
39-
key: nodeModules-${{ hashFiles('**/package.json') }}-${{ matrix.node-version }}
39+
key: nodeModules-${{ hashFiles('./package-lock.json') }}-${{ matrix.node-version }}
4040

4141
- name: Install dependencies
4242
run: npm install

.github/workflows/release-insiders.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/cache@v3
2626
with:
2727
path: node_modules
28-
key: nodeModules-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node-version }}
28+
key: nodeModules-${{ hashFiles('./package-lock.json') }}-${{ matrix.node-version }}
2929

3030
- name: Install dependencies
3131
run: npm install

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/cache@v3
2929
with:
3030
path: node_modules
31-
key: nodeModules-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node-version }}
31+
key: nodeModules-${{ hashFiles('./package-lock.json') }}-${{ matrix.node-version }}
3232

3333
- name: Install dependencies
3434
run: npm install

0 commit comments

Comments
 (0)