Skip to content

Commit 5dbc6bb

Browse files
committed
fix(ci): make yarn cache specific to node version
1 parent 9c3be95 commit 5dbc6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nodeCI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
uses: actions/cache@v1
3333
with:
3434
path: ${{ steps.yarn-cache.outputs.dir }}
35-
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
35+
key: ${{ runner.os }}-yarn-node${{ matrix.node }}-${{ hashFiles('yarn.lock') }}
3636
restore-keys: |
37-
${{ runner.os }}-yarn-
37+
${{ runner.os }}-yarn-node${{ matrix.node }}-
3838
- name: yarn install
3939
run: yarn install
4040
- name: yarn test

0 commit comments

Comments
 (0)