-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Node version to 20 #2569
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2569 +/- ##
=======================================
Coverage 51.86% 51.86%
=======================================
Files 127 127
Lines 5474 5474
Branches 1201 1201
=======================================
Hits 2839 2839
Misses 2340 2340
Partials 295 295 ☔ View full report in Codecov by Sentry. |
Hi @gerteck, Thank you for your meticulous work on this PR! I noticed the note about testing deployment via other CI platforms once the MarkBind version is updated to reflect the latest patches. Could you perhaps elaborate on why this testing is contingent on the MarkBind version update? I'm curious to understand what these patches entail and how they relate to the deployment testing. |
Sure! I was referencing the patch in PR #2562 , which in short fixes
That said, I suppose a hacky workaround would be to explicitly set env variables (specifically This issue probably wasn't detected because #2542 had patched this issue in The other patches aren't required for deployment testing, even #2565 (which was a considerable issue when migrating to node 20, but doesn't affect deployment since it's a dev-dependency). Also, this issue was actually also why I focused working on #2562 earlier on prior.😄 |
Hey @gerteck, Thanks for explaining everything and for all the testing you've done. It's clear you've put in a lot of work, especially with the workaround for the cache_dir issue. I think it's a good idea to update the MarkBind version as it would certainly save efforts, and I'll check with our seniors for their thoughts. @yucheng11122017, could you take a look at this when you have a moment? With what @gerteck has shared, it seems like updating the MarkBind version (doing a new release) that includes the fixes from PR #2562, could help with our deployment testing on different CI platforms. What do you think about doing the update? |
Thanks @gerteck for your work on this PR! As outlined in our docs, we aim to support up to the last maintenance lts, which at the moment should be Node v18 (currently on maintenance support). Jumping directly to Node v20 is probably not what we want, unless you have some reasons for this? (Sorry the issue linked was probably not accurate) We do need to update to v18 ASAP though. If you are keen, I would suggest we close this PR and open a new one to make the changes for v18 migration. As for your CI testing comment, I can make a release over the weekend for the few fixes you have made (TQ again). |
The main reason why I directly jumped to Node v20 is because GitHub actions is transitioning directly from node 16 to 20. Although it seems that it has not been actively enforced yet.
Sure, that would be possible! |
Will close this PR in favor of more updated #2572 |
What is the purpose of this pull request?
Overview of changes:
This PR seeks to upgrade Node.js to Node 20.
Addresses and Fixes #2541
Anything you'd like to highlight/discuss:
Before the version update, check that
netlify.toml
Related PRs:
Related Changes
Other:
Node.js Changelogs
To-do:
Testing instructions:
Proposed commit message: (wrap lines at 72 characters)
Upgrade Node.js to v20
Checklist: ☑️
Reviewer checklist:
Indicate the SEMVER impact of the PR:
At the end of the review, please label the PR with the appropriate label:
r.Major
,r.Minor
,r.Patch
.Breaking change release note preparation (if applicable):