File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ jobs:
109109 with :
110110 path : .jest-cache
111111 key : jest-unit-${{ env.GITHUB_SHA }}
112- restore-keys : jest-unit-${{ runner.os }}-${{ matrix.node-version }}
112+ restore-keys : jest-unit-${{ hashFiles('**/yarn.lock', '**/jest.config.js') }}
113113
114114 - run : yarn cover:unit --ci --cacheDirectory .jest-cache
115115
@@ -206,7 +206,7 @@ jobs:
206206 with :
207207 path : .jest-cache
208208 key : jest-integration-${{ env.GITHUB_SHA }}
209- restore-keys : jest-integration-${{ runner.os }}-${{ matrix.node-version }}-${{ matrix.part }}
209+ restore-keys : jest-integration-${{ hashFiles('**/yarn.lock', '**/jest.config.js') }}
210210
211211 - run : yarn cover:integration:${{ matrix.part }} --ci --cacheDirectory .jest-cache || yarn cover:integration:${{ matrix.part }} --ci --cacheDirectory .jest-cache -f
212212
You can’t perform that action at this time.
0 commit comments