chore: CI upgrade to Node 22
Motivation
CI should use Node 20/LTS by default
Matrix strategies should use Node versions 18.0, 20, 22
Note Node v22 behavior regarding Intl.DisplayNames is more "strict" than v18/20 (throws more often). I had to adjust the code accordingly. Not sure if it's a bug or if they follow the spec more accurately.
Note TSC has a segmentation fault under Node 22. Apparently, this is related to a V8 maglev bug:
- https://github.com/microsoft/TypeScript/issues/58369
- https://github.com/nodejs/node/issues/52797
Upgrading to TS 5.5 beta seems to fix it, but our website's main bundle size seems to increases for unexpected reasons. For that reason, I'm going to wait for a stable release.
[V2]
| Name | Link |
|---|---|
| Latest commit | 786ebd1cad624a9f882ce773ed6389b85a26ca61 |
| Latest deploy log | https://app.netlify.com/sites/docusaurus-2/deploys/6675654b606c180008a33242 |
| Deploy Preview | https://deploy-preview-10119--docusaurus-2.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
âĄī¸ Lighthouse report for the deploy preview of this PR
| URL | Performance | Accessibility | Best Practices | SEO | PWA | Report |
|---|---|---|---|---|---|---|
| / | đ 62 | đĸ 98 | đĸ 96 | đĸ 100 | đ 88 | Report |
| /docs/installation | đ 80 | đĸ 96 | đĸ 100 | đĸ 100 | đ 88 | Report |
| /docs/category/getting-started | đ 75 | đĸ 100 | đĸ 100 | đĸ 90 | đ 88 | Report |
| /blog | đ 69 | đĸ 100 | đĸ 100 | đĸ 90 | đ 88 | Report |
| /blog/preparing-your-site-for-docusaurus-v3 | đ 64 | đĸ 96 | đĸ 100 | đĸ 100 | đ 88 | Report |
| /blog/tags/release | đ 70 | đĸ 100 | đĸ 100 | đĸ 90 | đ 88 | Report |
| /blog/tags | đ 73 | đĸ 100 | đĸ 100 | đĸ 90 | đ 88 | Report |
Size Change: +8.96 kB (+0.49%)
Total Size: 1.85 MB
| Filename | Size | Change |
|---|---|---|
website/build/assets/js/main.********.js |
906 kB | +8.96 kB (+1%) |
âšī¸ View Unchanged
| Filename | Size |
|---|---|
website/.docusaurus/codeTranslations.json |
2 B |
website/.docusaurus/docusaurus.config.mjs |
27.1 kB |
website/.docusaurus/globalData.json |
123 kB |
website/.docusaurus/i18n.json |
930 B |
website/.docusaurus/registry.js |
304 kB |
website/.docusaurus/routes.js |
202 kB |
website/.docusaurus/routesChunkNames.json |
130 kB |
website/.docusaurus/site-metadata.json |
2.17 kB |
website/build/assets/css/styles.********.css |
112 kB |
website/build/index.html |
38.1 kB |