Repository navigation
Commit 682b40b
committed
fix: bump Node to 24 and refresh pinned Actions/npm deps
The last publish-docs.yaml run in ~9 months (previous success: 2025-10-13)
failed with "POSTCSS: ... node: bad option: --permission": Hugo's Node
permission sandbox (on by default since ~v0.161) passes the `--permission`
flag, which Node only recognizes as of v23.5 (20.x/22.x require
--experimental-permission instead - see nodejs/node permission-model docs).
CI pinned node-version: 20, so a floating-Hugo/pinned-old-Node combination
broke as soon as gh-pages was pushed to again.
Bump node-version to 24 (verified: reproduced the failure locally on both
Node 20/22, confirmed the build succeeds on Node 24). While in here, bump
the other pinned Actions to their current majors (checkout v5->v7,
configure-pages v5->v6, setup-node v5->v6, upload-pages-artifact v4->v5,
deploy-pages v4->v5) and the npm devDependencies (autoprefixer, postcss,
postcss-cli) to latest, which also clears 2 npm audit advisories
(picomatch ReDoS/method-injection, yaml stack overflow).1 parent 4581216 commit 682b40b
4 files changed
Lines changed: 75 additions & 77 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
0 commit comments