Skip to content

Commit 62078cd

Browse files
authored
chore(ci): fix cache key computation
1 parent 8f9cc61 commit 62078cd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ jobs:
1616
- uses: actions/cache@v4
1717
id: cache-node
1818
with:
19-
path: node_modules
20-
key: ${{ hashFiles('package.json') }}
19+
path: |
20+
node_modules
21+
example/node_modules
22+
key: ${{ hashFiles('package.json', 'yarn.lock', 'example/package.json') }}
2123
- run: corepack enable
2224
- uses: actions/setup-node@v4
2325
with:
24-
node-version: 20
26+
node-version: 24
2527
- run: yarn install
2628
if: steps.cache-node.outputs.cache-hit != 'true'
2729
- run: yarn lint

0 commit comments

Comments
 (0)