Partition GitHub Actions cache based on Node version (#1118)

This should fix the test failures on `master` — currently tests are
failing because the cache was created with an old version of Node.
This commit is contained in:
Jed Fox
2023-06-11 13:37:20 -04:00
committed by GitHub
parent ded6ee8a65
commit 15bc3c45a0
2 changed files with 7 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ runs:
id: cache
with:
path: '**/node_modules'
key: yarn-v1-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: yarn-v1-${{ runner.os }}-${{ hashFiles('.nvmrc') }}-${{ hashFiles('**/yarn.lock') }}
- name: Install
run: yarn --immutable
shell: bash