@samitouri / QOS-React / commits / e9d80d939e

Revert "[ci] Fix node_modules cache glob (#32604)" (#32606)

This reverts commit ef1103d3e92168803000e12d9a27cb7440e5e1c8. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32606). * #32609 * #32608 * #32607 * __->__ #32606

lauren committed Mar 13, 2025 at 21:52 UTC e9d80d939ee0f6b1d6146eb11917c433a7791d17
10 files changed +62 -93
.github/workflows/compiler_playground.yml
+2 -3
@@ -36,9 +36,8 @@ jobs:
36 uses: actions/cache@v4
37 id: node_modules
38 with:
39 - path: |
40 - **/node_modules
41 - key: compiler-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
39 + path: "**/node_modules"
40 + key: compiler-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
41 - run: yarn install --frozen-lockfile
42 - run: npx playwright install --with-deps chromium
43 - run: CI=true yarn test
.github/workflows/compiler_prereleases.yml
+2 -3
@@ -46,9 +46,8 @@ jobs:
46 uses: actions/cache@v4
47 id: node_modules
48 with:
49 - path: |
50 - **/node_modules
51 - key: compiler-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
49 + path: "**/node_modules"
50 + key: compiler-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
51 - run: yarn install --frozen-lockfile
52 - name: Publish packages to npm
53 run: |
.github/workflows/compiler_typescript.yml
+6 -9
@@ -46,9 +46,8 @@ jobs:
46 - name: Restore cached node_modules
47 uses: actions/cache@v4
48 with:
49 - path: |
50 - **/node_modules
51 - key: compiler-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
49 + path: "**/node_modules"
50 + key: compiler-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
51 - run: yarn install --frozen-lockfile
52 - run: yarn workspace babel-plugin-react-compiler lint
53
@@ -67,9 +66,8 @@ jobs:
66 uses: actions/cache@v4
67 id: node_modules
68 with:
70 - path: |
71 - **/node_modules
72 - key: compiler-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
69 + path: "**/node_modules"
70 + key: compiler-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
71 - run: yarn install --frozen-lockfile
72 - run: yarn workspace babel-plugin-react-compiler jest
73
@@ -92,9 +90,8 @@ jobs:
90 uses: actions/cache@v4
91 id: node_modules
92 with:
95 - path: |
96 - **/node_modules
97 - key: compiler-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
93 + path: "**/node_modules"
94 + key: compiler-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
95 - run: yarn install --frozen-lockfile
96 - run: xvfb-run -a yarn workspace ${{ matrix.workspace_name }} test
97 if: runner.os == 'Linux' && matrix.workspace_name == 'react-forgive'
.github/workflows/devtools_regression_tests.yml
+8 -12
@@ -29,9 +29,8 @@ jobs:
29 uses: actions/cache@v4
30 id: node_modules
31 with:
32 - path: |
33 - **/node_modules
34 - key: runtime-release-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
32 + path: "**/node_modules"
33 + key: runtime-release-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
34 - name: Ensure clean build directory
35 run: rm -rf build
36 - run: yarn install --frozen-lockfile
@@ -64,9 +63,8 @@ jobs:
63 uses: actions/cache@v4
64 id: node_modules
65 with:
67 - path: |
68 - **/node_modules
69 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
66 + path: "**/node_modules"
67 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
68 - name: Ensure clean build directory
69 run: rm -rf build
70 - run: yarn install --frozen-lockfile
@@ -122,9 +120,8 @@ jobs:
120 uses: actions/cache@v4
121 id: node_modules
122 with:
125 - path: |
126 - **/node_modules
127 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
123 + path: "**/node_modules"
124 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
125 - run: yarn install --frozen-lockfile
126 - name: Restore all archived build artifacts
127 uses: actions/download-artifact@v4
@@ -157,9 +154,8 @@ jobs:
154 uses: actions/cache@v4
155 id: node_modules
156 with:
160 - path: |
161 - **/node_modules
162 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
157 + path: "**/node_modules"
158 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
159 - run: yarn install --frozen-lockfile
160 - name: Restore all archived build artifacts
161 uses: actions/download-artifact@v4
.github/workflows/runtime_build_and_test.yml
+28 -42
@@ -55,9 +55,8 @@ jobs:
55 uses: actions/cache@v4
56 id: node_modules
57 with:
58 - path: |
59 - **/node_modules
60 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
58 + path: "**/node_modules"
59 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
60 - name: Ensure clean build directory
61 run: rm -rf build
62 - run: yarn install --frozen-lockfile
@@ -80,9 +79,8 @@ jobs:
79 uses: actions/cache@v4
80 id: node_modules
81 with:
83 - path: |
84 - **/node_modules
85 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
82 + path: "**/node_modules"
83 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
84 - name: Ensure clean build directory
85 run: rm -rf build
86 - run: yarn install --frozen-lockfile
@@ -109,9 +107,8 @@ jobs:
107 uses: actions/cache@v4
108 id: node_modules
109 with:
112 - path: |
113 - **/node_modules
114 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
110 + path: "**/node_modules"
111 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
112 - name: Ensure clean build directory
113 run: rm -rf build
114 - run: yarn install --frozen-lockfile
@@ -165,9 +162,8 @@ jobs:
162 uses: actions/cache@v4
163 id: node_modules
164 with:
168 - path: |
169 - **/node_modules
170 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
165 + path: "**/node_modules"
166 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
167 - name: Ensure clean build directory
168 run: rm -rf build
169 - run: yarn install --frozen-lockfile
@@ -202,9 +198,8 @@ jobs:
198 uses: actions/cache@v4
199 id: node_modules
200 with:
205 - path: |
206 - **/node_modules
207 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
201 + path: "**/node_modules"
202 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
203 - name: Ensure clean build directory
204 run: rm -rf build
205 - run: yarn install --frozen-lockfile
@@ -279,9 +274,8 @@ jobs:
274 uses: actions/cache@v4
275 id: node_modules
276 with:
282 - path: |
283 - **/node_modules
284 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
277 + path: "**/node_modules"
278 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
279 - name: Ensure clean build directory
280 run: rm -rf build
281 - run: yarn install --frozen-lockfile
@@ -314,9 +308,8 @@ jobs:
308 uses: actions/cache@v4
309 id: node_modules
310 with:
317 - path: |
318 - **/node_modules
319 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
311 + path: "**/node_modules"
312 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
313 - name: Ensure clean build directory
314 run: rm -rf build
315 - run: yarn install --frozen-lockfile
@@ -364,9 +357,8 @@ jobs:
357 uses: actions/cache@v4
358 id: node_modules
359 with:
367 - path: |
368 - **/node_modules
369 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
360 + path: "**/node_modules"
361 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
362 - name: Ensure clean build directory
363 run: rm -rf build
364 - run: yarn install --frozen-lockfile
@@ -402,9 +394,8 @@ jobs:
394 uses: actions/cache@v4
395 id: node_modules
396 with:
405 - path: |
406 - **/node_modules
407 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
397 + path: "**/node_modules"
398 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
399 - name: Ensure clean build directory
400 run: rm -rf build
401 - run: yarn install --frozen-lockfile
@@ -437,9 +428,8 @@ jobs:
428 uses: actions/cache@v4
429 id: node_modules
430 with:
440 - path: |
441 - **/node_modules
442 - key: fixtures_dom-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('fixtures/dom/yarn.lock') }}
431 + path: "**/node_modules"
432 + key: fixtures_dom-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('fixtures/dom/yarn.lock') }}
433 - name: Ensure clean build directory
434 run: rm -rf build
435 - run: yarn install --frozen-lockfile
@@ -481,9 +471,8 @@ jobs:
471 uses: actions/cache@v4
472 id: node_modules
473 with:
484 - path: |
485 - **/node_modules
486 - key: fixtures_flight-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
474 + path: "**/node_modules"
475 + key: fixtures_flight-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
476 - name: Ensure clean build directory
477 run: rm -rf build
478 - run: yarn install --frozen-lockfile
@@ -546,9 +535,8 @@ jobs:
535 uses: actions/cache@v4
536 id: node_modules
537 with:
549 - path: |
550 - **/node_modules
551 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
538 + path: "**/node_modules"
539 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
540 - name: Ensure clean build directory
541 run: rm -rf build
542 - run: yarn install --frozen-lockfile
@@ -600,9 +588,8 @@ jobs:
588 uses: actions/cache@v4
589 id: node_modules
590 with:
603 - path: |
604 - **/node_modules
605 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
591 + path: "**/node_modules"
592 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
593 - name: Ensure clean build directory
594 run: rm -rf build
595 - run: yarn install --frozen-lockfile
@@ -640,9 +627,8 @@ jobs:
627 uses: actions/cache@v4
628 id: node_modules
629 with:
643 - path: |
644 - **/node_modules
645 - key: runtime-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
630 + path: "**/node_modules"
631 + key: runtime-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
632 - name: Ensure clean build directory
633 run: rm -rf build
634 - run: yarn install --frozen-lockfile
.github/workflows/runtime_commit_artifacts.yml
+2 -3
@@ -73,9 +73,8 @@ jobs:
73 uses: actions/cache@v4
74 id: node_modules
75 with:
76 - path: |
77 - **/node_modules
78 - key: runtime-release-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
76 + path: "**/node_modules"
77 + key: runtime-release-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
78 - name: Ensure clean build directory
79 run: rm -rf build
80 - run: yarn install --frozen-lockfile
.github/workflows/runtime_eslint_plugin_e2e.yml
+2 -3
@@ -40,9 +40,8 @@ jobs:
40 uses: actions/cache@v4
41 id: node_modules
42 with:
43 - path: |
44 - **/node_modules
45 - key: runtime-eslint_e2e-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
43 + path: "**/node_modules"
44 + key: runtime-eslint_e2e-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
45 - name: Ensure clean build directory
46 run: rm -rf build
47 - run: yarn install --frozen-lockfile
.github/workflows/runtime_prereleases.yml
+2 -3
@@ -39,9 +39,8 @@ jobs:
39 uses: actions/cache@v4
40 id: node_modules
41 with:
42 - path: |
43 - **/node_modules
44 - key: runtime-release-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
42 + path: "**/node_modules"
43 + key: runtime-release-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
44 - name: Ensure clean build directory
45 run: rm -rf build
46 - run: yarn install --frozen-lockfile
.github/workflows/runtime_releases_from_npm_manual.yml
+2 -3
@@ -71,9 +71,8 @@ jobs:
71 uses: actions/cache@v4
72 id: node_modules
73 with:
74 - path: |
75 - **/node_modules
76 - key: runtime-release-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
74 + path: "**/node_modules"
75 + key: runtime-release-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
76 - name: Ensure clean build directory
77 run: rm -rf build
78 - run: yarn install --frozen-lockfile
.github/workflows/shared_lint.yml
+8 -12
@@ -28,9 +28,8 @@ jobs:
28 - name: Restore cached node_modules
29 uses: actions/cache@v4
30 with:
31 - path: |
32 - **/node_modules
33 - key: shared-lint-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
31 + path: "**/node_modules"
32 + key: shared-lint-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
33 - name: Ensure clean build directory
34 run: rm -rf build
35 - run: yarn install --frozen-lockfile
@@ -49,9 +48,8 @@ jobs:
48 - name: Restore cached node_modules
49 uses: actions/cache@v4
50 with:
52 - path: |
53 - **/node_modules
54 - key: shared-lint-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
51 + path: "**/node_modules"
52 + key: shared-lint-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
53 - name: Ensure clean build directory
54 run: rm -rf build
55 - run: yarn install --frozen-lockfile
@@ -70,9 +68,8 @@ jobs:
68 - name: Restore cached node_modules
69 uses: actions/cache@v4
70 with:
73 - path: |
74 - **/node_modules
75 - key: shared-lint-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
71 + path: "**/node_modules"
72 + key: shared-lint-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
73 - name: Ensure clean build directory
74 run: rm -rf build
75 - run: yarn install --frozen-lockfile
@@ -91,9 +88,8 @@ jobs:
88 - name: Restore cached node_modules
89 uses: actions/cache@v4
90 with:
94 - path: |
95 - **/node_modules
96 - key: shared-lint-node_modules-v2-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
91 + path: "**/node_modules"
92 + key: shared-lint-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
93 - name: Ensure clean build directory
94 run: rm -rf build
95 - run: yarn install --frozen-lockfile