Skip to content

Commit 2c7ac9c

Browse files
committed
ci: Cache per node version
1 parent 191cbc3 commit 2c7ac9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/cache@v2
2727
with:
2828
path: '**/node_modules'
29-
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
29+
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-${{ matrix.node-version }}
3030
- name: Install dependencies
3131
if: steps.yarn-cache.outputs.cache-hit != 'true'
3232
run: yarn install --frozen-lockfile

0 commit comments

Comments
 (0)