[ci] Update node_modules cache path (#32609)

Alternative of #32604.

Bust all old caches since I reverted some other changes to the keys.
This commit is contained in:
lauren
2025-03-13 22:29:48 -04:00
committed by GitHub
parent 4eba294c69
commit f3c956006a
10 changed files with 93 additions and 62 deletions

View File

@@ -73,8 +73,9 @@ jobs:
uses: actions/cache@v4
id: node_modules
with:
path: "**/node_modules"
key: runtime-release-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
path: |
**/node_modules
key: runtime-release-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
- name: Ensure clean build directory
run: rm -rf build
- run: yarn install --frozen-lockfile