[ci] Update node_modules cache path

Alternative of #32604.

Bust all old caches since I reverted some other changes to the keys.
This commit is contained in:
Lauren Tan
2025-03-13 21:53:19 -04:00
parent 85f441cd04
commit cb4e108ec8
10 changed files with 91 additions and 61 deletions
@@ -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