Skip to content

Commit dc14e5e

Browse files
committed
fix incorrect file name for node_modules cache in workflows
1 parent 06d573a commit dc14e5e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/cache@v3
2222
with:
2323
path: node_modules
24-
key: yarn-node-16-lock-${{ hashFiles('yarn.json') }}
24+
key: yarn-node-16-lock-${{ hashFiles('yarn.lock') }}
2525
restore-keys: |
2626
yarn-node-16-lock-
2727
- run: yarn install --frozen-lockfile

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/cache@v3
2323
with:
2424
path: node_modules
25-
key: yarn-node-16-lock-${{ hashFiles('yarn.json') }}
25+
key: yarn-node-16-lock-${{ hashFiles('yarn.lock') }}
2626
restore-keys: |
2727
yarn-node-16-lock-
2828
- name: Initialize CodeQL

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/cache@v3
1818
with:
1919
path: node_modules
20-
key: yarn-node-16-lock-${{ hashFiles('yarn.json') }}
20+
key: yarn-node-16-lock-${{ hashFiles('yarn.lock') }}
2121
restore-keys: |
2222
yarn-node-16-lock-
2323
- run: yarn install --frozen-lockfile

0 commit comments

Comments
 (0)