Skip to content

chore: Use Node 22#253

Merged
rekmarks merged 1 commit intomainfrom
rekm/use-node-22
Oct 30, 2024
Merged

chore: Use Node 22#253
rekmarks merged 1 commit intomainfrom
rekm/use-node-22

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 September 27, 2024 20:41
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
@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