Skip to content
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

chore: Use Node 22 #253

Merged
merged 1 commit into from
Oct 30, 2024
Merged

chore: Use Node 22 #253

merged 1 commit into from
Oct 30, 2024

Conversation

rekmarks
Copy link
Member

@rekmarks rekmarks commented Sep 27, 2024

As of October 29, Node.js 22 is the active lts version, and we should start to configure our repositories to use it as the latest supported version. This also updates our minimum supported Node versions for 18 and 20.

@rekmarks rekmarks requested a review from a team as a code owner September 27, 2024 20:41
@@ -179,7 +179,7 @@ async function expectPullRequestTemplate(workspace, workspaceName) {

const pullRequestTemplate = await getWorkspaceFile(
workspace,
'.github/PULL_REQUEST_TEMPLATE.md',
'.github/pull_request_template.md',
Copy link
Member Author

@rekmarks rekmarks Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notably, whatever fs call is backing this is newly case-sensitive in Node 22, so this fails if it doesn't actually match the filename.

@legobeat
Copy link
Contributor

legobeat commented Sep 27, 2024

Why not wait until it's actually active lts? It's still current meaning unexpected breakages do happen (we had a couple under 22.x already) to a higher extent compared to active (20).

https://github.com/nodejs/release#release-schedule

Should be in ~1 month.

@rekmarks
Copy link
Member Author

Sure, we can wait for a month.

@rekmarks
Copy link
Member Author

Node.js 22.x is LTS as of today.

Copy link

@MajorLift MajorLift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@rekmarks rekmarks merged commit 0188a98 into main Oct 30, 2024
20 checks passed
@rekmarks rekmarks deleted the rekm/use-node-22 branch October 30, 2024 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants