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

Add node.js v20 support #1673

Merged
merged 1 commit into from
Jun 13, 2023
Merged

Add node.js v20 support #1673

merged 1 commit into from
Jun 13, 2023

Conversation

jameshadfield
Copy link
Member

See commit messages for details

@nextstrain-bot nextstrain-bot temporarily deployed to auspice-engine-updates-5soxd4c June 13, 2023 02:46 Inactive
@nextstrain-bot nextstrain-bot temporarily deployed to auspice-engine-updates-5soxd4c June 13, 2023 02:51 Inactive
@jameshadfield jameshadfield requested a review from a team June 13, 2023 20:11
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18]
Copy link
Member

Choose a reason for hiding this comment

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

The Docker image still uses Node.js 14 for installing/using Auspice. There is a PR to use Node.js 16 but it hasn't been pushed through since it's based on a bigger change.

Copy link
Member Author

Choose a reason for hiding this comment

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

Do you have a timeline for those changes to the docker image? I can update this PR and #1672 to remain compatible to node14 for the time being, if needs be.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, let's keep Node.js 14 support until this is done. It's mostly dependent on nextstrain/docker-base#98, so I'll push on that a bit harder now and update here when it's done.

This was referenced Jun 13, 2023
v20 is the current version, with scheduled end-of-life 2026-04-30¹.

The associated npm version (as of node v20.3.0) is still npm v9².

¹ https://github.com/nodejs/release#release-schedule
² https://nodejs.org/dist/index.json
@jameshadfield jameshadfield changed the title Remove node14, add node20 Add node.js v20 support Jun 13, 2023
@jameshadfield jameshadfield requested a review from victorlin June 13, 2023 21:43
@nextstrain-bot nextstrain-bot temporarily deployed to auspice-engine-updates-5soxd4c June 13, 2023 21:43 Inactive
Copy link
Member

Choose a reason for hiding this comment

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

Can bundlesize be updated to use 20 as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

Probably, but f we had to pick one node version I'd pick the one we use to publish auspice (v18)

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I didn't notice there are other jobs that also use v18. Yes, those should be updated together later.

@jameshadfield jameshadfield merged commit cd9f476 into master Jun 13, 2023
@jameshadfield jameshadfield deleted the engine-updates branch June 13, 2023 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

3 participants