Skip to content

Commit 20f67ec

Browse files
authored
chore: actually interpolate node version in node_modules cache key (#513)
1 parent c1fb4d9 commit 20f67ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
id: cache
3333
with:
3434
path: node_modules
35-
key: ${{ matrix.os }}-{{ matrix.node-version }}-node_modules-${{ hashFiles('**/package.json') }}
35+
key: ${{ matrix.os }}-${{ matrix.node-version }}-node_modules-${{ hashFiles('**/package.json') }}
3636
restore-keys: |
37-
${{ matrix.os }}-{{ matrix.node-version }}-node_modules-
37+
${{ matrix.os }}-${{ matrix.node-version }}-node_modules-
3838
- name: Install Dependencies
3939
if: steps.cache.outputs.cache-hit != 'true'
4040
run: npm i

0 commit comments

Comments
 (0)