Commit 93f3127
authored
ci: key the browser cache on the Playwright version alone (#182)
* ci: key the browser cache on the Playwright version alone
Hashing the whole version catalog meant any dependency bump paid the
60s cold browser install; the key now uses the Playwright version
itself, so the cache only invalidates when the browsers actually
change. Also answers the old inline comment wondering whether a
smarter key exists.
* ci: fix the canary's browser cache key too
The canary still carried the original key on reference-app/
build.gradle.kts — the earlier chromium-only change silently missed it
because its text differed — so it kept the stale-cache bug: a
Playwright bump would restore old browsers that
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD then refuses to replace. Now keyed on
the Playwright version like the CI workflow.1 parent 72870f0 commit 93f3127
2 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | | - | |
38 | | - | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | | - | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
| |||
0 commit comments