ci: cache node_modules per runner os
This commit is contained in:
parent
91147285f0
commit
fdbcf8d906
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -70,7 +70,7 @@ jobs:
|
|||
id: cache
|
||||
with:
|
||||
path: '**/node_modules'
|
||||
key: yarn-v1-${{ hashFiles('**/yarn.lock') }}
|
||||
key: yarn-v1-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||
- name: Install
|
||||
run: yarn --immutable
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
|
|
Loading…
Reference in a new issue