Skip to content

Commit

Permalink
chore: actually interpolate node version in node_modules cache key (#513
Browse files Browse the repository at this point in the history
)
  • Loading branch information
SimenB committed Aug 23, 2022
1 parent c1fb4d9 commit 20f67ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Expand Up @@ -32,9 +32,9 @@ jobs:
id: cache
with:
path: node_modules
key: ${{ matrix.os }}-{{ matrix.node-version }}-node_modules-${{ hashFiles('**/package.json') }}
key: ${{ matrix.os }}-${{ matrix.node-version }}-node_modules-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ matrix.os }}-{{ matrix.node-version }}-node_modules-
${{ matrix.os }}-${{ matrix.node-version }}-node_modules-
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm i
Expand Down

0 comments on commit 20f67ec

Please sign in to comment.