@@ -59,10 +59,10 @@ jobs:
5959 - name : Metro cache
6060 uses : actions/cache@v4
6161 with :
62- path : apps/playground/node_modules/.cache/rn- harness/metro-cache
63- key : metro-cache-${{ hashFiles('apps/playground/node_modules/.cache/rn-harness/metro-cache/ **/* ') }}
62+ path : apps/playground/. harness/metro-cache
63+ key : ${{ runner.os }}- metro-cache-${{ hashFiles('**/bun.lock', '**/bun.lockb', '**/package-lock.json', '**/npm-shrinkwrap.json', '**/pnpm-lock.yaml', '**/yarn.lock', ' **/metro.config.js', '**/metro.config.cjs', '**/metro.config.mjs', '**/metro.config.ts', '**/babel.config.js', '**/babel.config.cjs', '**/babel.config.mjs', '**/babel.config.ts', '**/babel.config.json ') }}
6464 restore-keys : |
65- metro-cache
65+ ${{ runner.os }}- metro-cache-
6666
6767 - name : Install dependencies
6868 run : |
@@ -131,10 +131,10 @@ jobs:
131131 - name : Metro cache
132132 uses : actions/cache@v4
133133 with :
134- path : apps/playground/node_modules/.cache/rn- harness/metro-cache
135- key : metro-cache-${{ hashFiles('apps/playground/node_modules/.cache/rn-harness/metro-cache/ **/* ') }}
134+ path : apps/playground/. harness/metro-cache
135+ key : ${{ runner.os }}- metro-cache-${{ hashFiles('**/bun.lock', '**/bun.lockb', '**/package-lock.json', '**/npm-shrinkwrap.json', '**/pnpm-lock.yaml', '**/yarn.lock', ' **/metro.config.js', '**/metro.config.cjs', '**/metro.config.mjs', '**/metro.config.ts', '**/babel.config.js', '**/babel.config.cjs', '**/babel.config.mjs', '**/babel.config.ts', '**/babel.config.json ') }}
136136 restore-keys : |
137- metro-cache
137+ ${{ runner.os }}- metro-cache-
138138
139139 - name : Install Watchman
140140 run : brew install watchman
@@ -220,10 +220,10 @@ jobs:
220220 - name : Metro cache
221221 uses : actions/cache@v4
222222 with :
223- path : apps/playground/node_modules/.cache/rn- harness/metro-cache
224- key : metro-cache-${{ hashFiles('apps/playground/node_modules/.cache/rn-harness/metro-cache/ **/* ') }}
223+ path : apps/playground/. harness/metro-cache
224+ key : ${{ runner.os }}- metro-cache-${{ hashFiles('**/bun.lock', '**/bun.lockb', '**/package-lock.json', '**/npm-shrinkwrap.json', '**/pnpm-lock.yaml', '**/yarn.lock', ' **/metro.config.js', '**/metro.config.cjs', '**/metro.config.mjs', '**/metro.config.ts', '**/babel.config.js', '**/babel.config.cjs', '**/babel.config.mjs', '**/babel.config.ts', '**/babel.config.json ') }}
225225 restore-keys : |
226- metro-cache
226+ ${{ runner.os }}- metro-cache-
227227
228228 - name : Install dependencies
229229 run : |
@@ -276,10 +276,10 @@ jobs:
276276 - name : Metro cache
277277 uses : actions/cache@v4
278278 with :
279- path : apps/playground/node_modules/.cache/rn- harness/metro-cache
280- key : metro-cache-${{ hashFiles('apps/playground/node_modules/.cache/rn-harness/metro-cache/ **/* ') }}
279+ path : apps/playground/. harness/metro-cache
280+ key : ${{ runner.os }}- metro-cache-${{ hashFiles('**/bun.lock', '**/bun.lockb', '**/package-lock.json', '**/npm-shrinkwrap.json', '**/pnpm-lock.yaml', '**/yarn.lock', ' **/metro.config.js', '**/metro.config.cjs', '**/metro.config.mjs', '**/metro.config.ts', '**/babel.config.js', '**/babel.config.cjs', '**/babel.config.mjs', '**/babel.config.ts', '**/babel.config.json ') }}
281281 restore-keys : |
282- metro-cache
282+ ${{ runner.os }}- metro-cache-
283283
284284 - name : Install dependencies
285285 run : |
@@ -372,10 +372,10 @@ jobs:
372372 - name : Metro cache
373373 uses : actions/cache@v4
374374 with :
375- path : apps/playground/node_modules/.cache/rn- harness/metro-cache
376- key : metro-cache-${{ hashFiles('apps/playground/node_modules/.cache/rn-harness/metro-cache/ **/* ') }}
375+ path : apps/playground/. harness/metro-cache
376+ key : ${{ runner.os }}- metro-cache-${{ hashFiles('**/bun.lock', '**/bun.lockb', '**/package-lock.json', '**/npm-shrinkwrap.json', '**/pnpm-lock.yaml', '**/yarn.lock', ' **/metro.config.js', '**/metro.config.cjs', '**/metro.config.mjs', '**/metro.config.ts', '**/babel.config.js', '**/babel.config.cjs', '**/babel.config.mjs', '**/babel.config.ts', '**/babel.config.json ') }}
377377 restore-keys : |
378- metro-cache
378+ ${{ runner.os }}- metro-cache-
379379
380380 - name : Install Watchman
381381 run : brew install watchman
0 commit comments