Commit 047af4d
fix(ci): bump GitHub Actions off deprecated Node 20 runtime (#396)
* fix(ci): bump GitHub Actions off deprecated Node 20 runtime
GitHub is forcing Node 24 on 2026-06-16 and removing Node 20 from runners
on 2026-09-16. Bump all first-party actions to their current Node 24
majors so the deprecation annotation clears and the workflows keep running.
- build-and-deploy.yml: checkout@v4→v5, configure-pages@v4→v5,
upload-pages-artifact@v3→v5, deploy-pages@v4→v5
- a11y.yml / lighthouse.yml: checkout@v4→v5, setup-node@v4→v5,
node-version 20→24 (for pa11y-ci / Lighthouse)
Standard usage only — no action inputs changed. setup-node's v5 auto-cache
does not trigger (no packageManager field in package.json).
Closes #395
* fix(a11y): upgrade pa11y-ci to restore browser download
* fix(a11y): install Chrome for pa11y-ci in workflow
* fix(ci): run pa11y/Lighthouse tools on Node 20, keep actions on Node 24
The pa11y-ci job failed after the Node 24 bump: pa11y-ci's bundled
Puppeteer 9 cannot launch its Chromium on Node 24 (ENOENT on the bundled
browser). The GitHub Actions deprecation is about the *action* runtimes,
not the Node version the test tools run on — those are independent.
So keep the action bumps (checkout/setup-node/configure-pages/
upload-pages-artifact/deploy-pages @v5, all Node 24 runtimes, which clears
the deprecation) but run the pa11y/Lighthouse tools back on Node 20, their
validated runtime. This restores the exact known-good config that passed
on #394.
Reverts the earlier modernization attempt (pa11y-ci ^4 + an `npx puppeteer
browsers install chrome` step that was itself failing on a flaky Chrome
download) back to pa11y-ci ^3; restores the accurate Puppeteer-9 comments
in lab.html.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>1 parent ed656f3 commit 047af4d
4 files changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments