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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

chore: Use Node 22 #253

wants to merge 1 commit into from

Conversation

rekmarks
Copy link
Member

Node JS 22 is a currently supported version and will soon be the active lts version, so we may as well 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.

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.

2 participants