Commit f82a4ff
authored
chore(š): lock eas-cli and playwright via yarn.lock, remove deprecated expo-cli (#3796)
* Pin CI dependencies: lock eas-cli and playwright via yarn.lock, remove deprecated expo-cli
- Remove 'npm install -g expo-cli eas-cli' from all three jobs
(test-skia-ios, test-skia-android, test-skia-web). expo-cli is
deprecated upstream and the workflow already uses the local expo
package via 'npx expo'. eas-cli is added as a devDependency instead.
- Remove 'npm install -g playwright' from test-skia-web. playwright is
added as a devDependency and invoked via 'yarn playwright'.
- Replace all 'npx playwright' calls with 'yarn playwright'.
- Add eas-cli@18.4.0 and playwright@1.59.0 as devDependencies so their
full transitive dependency trees are locked by yarn.lock.
npm install -g resolves the full transitive dependency tree from the npm
registry at install time with no lockfile. eas-cli pulls ~394 transitive
deps; expo-cli pulls ~986 (and is deprecated). npx is equally dangerous
as it does the same resolution at runtime. Adding these tools as
devDependencies locks the entire tree via yarn.lock.
* Add yarn install step before playwright commands in test-skia-web
The workflow checks out the repo but never ran yarn install, so
node_modules didn't exist. yarn playwright requires node_modules
to resolve the playwright binary from the lockfile.
* Replace all npx expo calls with yarn expo
npx has the same fetch-from-registry-without-lockfile risk as
npm install -g. The test apps are created with yarn create expo-app,
so expo is a local dependency and yarn expo works directly.1 parent b56436d commit f82a4ff
3 files changed
Lines changed: 1797 additions & 141 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 61 | | |
67 | 62 | | |
68 | 63 | | |
| |||
126 | 121 | | |
127 | 122 | | |
128 | 123 | | |
129 | | - | |
| 124 | + | |
130 | 125 | | |
131 | 126 | | |
132 | 127 | | |
133 | 128 | | |
134 | 129 | | |
135 | | - | |
| 130 | + | |
136 | 131 | | |
137 | 132 | | |
138 | 133 | | |
139 | 134 | | |
140 | 135 | | |
141 | | - | |
| 136 | + | |
142 | 137 | | |
143 | 138 | | |
144 | 139 | | |
| |||
151 | 146 | | |
152 | 147 | | |
153 | 148 | | |
154 | | - | |
| 149 | + | |
155 | 150 | | |
156 | 151 | | |
157 | 152 | | |
158 | 153 | | |
159 | 154 | | |
160 | 155 | | |
161 | | - | |
| 156 | + | |
162 | 157 | | |
163 | 158 | | |
164 | 159 | | |
| |||
215 | 210 | | |
216 | 211 | | |
217 | 212 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | 213 | | |
224 | 214 | | |
225 | 215 | | |
| |||
294 | 284 | | |
295 | 285 | | |
296 | 286 | | |
297 | | - | |
| 287 | + | |
298 | 288 | | |
299 | 289 | | |
300 | 290 | | |
301 | 291 | | |
302 | 292 | | |
303 | | - | |
| 293 | + | |
304 | 294 | | |
305 | 295 | | |
306 | 296 | | |
307 | 297 | | |
308 | 298 | | |
309 | | - | |
| 299 | + | |
310 | 300 | | |
311 | 301 | | |
312 | 302 | | |
| |||
325 | 315 | | |
326 | 316 | | |
327 | 317 | | |
328 | | - | |
| 318 | + | |
329 | 319 | | |
330 | 320 | | |
331 | 321 | | |
332 | 322 | | |
333 | 323 | | |
334 | 324 | | |
335 | | - | |
| 325 | + | |
336 | 326 | | |
337 | 327 | | |
338 | 328 | | |
| |||
384 | 374 | | |
385 | 375 | | |
386 | 376 | | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | 377 | | |
393 | 378 | | |
394 | 379 | | |
| |||
449 | 434 | | |
450 | 435 | | |
451 | 436 | | |
452 | | - | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
453 | 441 | | |
454 | 442 | | |
455 | 443 | | |
456 | 444 | | |
457 | | - | |
458 | | - | |
459 | | - | |
| 445 | + | |
| 446 | + | |
460 | 447 | | |
461 | 448 | | |
462 | 449 | | |
463 | 450 | | |
464 | 451 | | |
465 | | - | |
| 452 | + | |
466 | 453 | | |
467 | 454 | | |
468 | 455 | | |
| |||
476 | 463 | | |
477 | 464 | | |
478 | 465 | | |
479 | | - | |
| 466 | + | |
480 | 467 | | |
481 | 468 | | |
482 | 469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments