Skip to content

Commit 56e04ce

Browse files
authored
test: Fix CI caching on Windows (#934)
1 parent df2c876 commit 56e04ce

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/checks.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,10 @@ jobs:
148148
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
149149
id: dependency-cache
150150
with:
151-
path: "**/node_modules"
152-
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
151+
path: |
152+
node_modules
153+
packages/*/node_modules
154+
key: ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
153155
- name: Install dependencies
154156
run: yarn --frozen-lockfile --ignore-engines
155157
if: steps.dependency-cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)