Commit d9576ce
committed
ci(site): portable test glob (Node 20 lacks ** ); bump runner to Node 22
The Pages workflow pinned Node 20 but used a quoted 'site/test/**/*.test.mjs'.
Node's own ** glob needs Node 21+, so Node 20 treated it literally and failed
with 'Could not find', blocking the deploy job. Use a shell-expanded glob
(site/test/*.test.mjs — all test files are flat in site/test/) and run on Node 22.
Claude-Session: https://claude.ai/code/session_01CDQ9ccpnsu3YtiVkvPqZtr1 parent 4fa2ae9 commit d9576ce
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments