ci: cache node_modules per runner os

This commit is contained in:
Tom French 2022-05-29 21:47:28 +01:00 committed by James Long
parent 91147285f0
commit fdbcf8d906

View file

@ -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'