Commit 8a8f4aa
authored
Use Node.js 22 in refresh workflows to fix .mts loader errors (#3269)
## Summary
- Bumps Node.js from 20 to 22 in the three refresh workflows
(`refresh-wordpress-major-and-beta`, `refresh-sqlite-integration`,
`refresh-wordpress-nightly`)
- Node.js 20.20.0 does not support `.mts` files as `--loader` arguments,
causing `ERR_UNKNOWN_FILE_EXTENSION` errors
- Node.js 22 is the lowest major version with native TypeScript/`.mts`
support
## Failing CI runs
- [Refresh WordPress
Major&Beta](https://github.com/WordPress/wordpress-playground/actions/runs/21967488700/job/63460931335)
- [Refresh SQLite
plugin](https://github.com/WordPress/wordpress-playground/actions/runs/21967500743/job/63460969582)
- [Refresh WordPress
Nightly](https://github.com/WordPress/wordpress-playground/actions/runs/21967503750/job/63460978762)
## Test plan
- [ ] Verify the three refresh workflows pass with Node.js 221 parent ceaa432 commit 8a8f4aa
File tree
3 files changed
+3
-3
lines changed- .github/workflows
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments