-
Notifications
You must be signed in to change notification settings - Fork 6
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
Upgrade to Node.js 16 #122
Conversation
01997a8
to
d0e7e4c
Compare
Any reason not to jump straight to node v18 (which is also LTS)? With regards to possibly removing the redundant auspice build step (#98, which indicates it may be rolled into this PR) I would favour the more explicit approach of |
Auspice doesn't officially support v18 (but will soon). Also, v16 is what's currently used on nextstrain.org and auspice.us. After nextstrain/auspice#1560 is released, we can coordinate an upgrade of v16 → v18 for this Docker image, the two deployed apps, and individual dev environments. |
5478afc
to
0ff5492
Compare
0ff5492
to
21f8283
Compare
d0e7e4c
to
66130c6
Compare
66130c6
to
ac3f4cb
Compare
284629e
to
7ccea6e
Compare
ac3f4cb
to
509894c
Compare
P.S. Node 16 reaches end-of-life in September this year so I'd suggest going straight to node 18 in this PR, as auspice supports it even though we still use v16 on nextstrain.org & auspice.us. |
509894c
to
d4aa2ca
Compare
43f57d7
to
d6f39af
Compare
Node.js v16 should run without emulation on the build platform, which results in faster build times. This was the main reason to avoid upgrading in a multi-platform setting. Node.js v16 should also come with performance improvements during run time.
Auspice has a prepare script that runs the build script automatically after npm install. This means the explicit call to run the build script is redundant and can be removed to improve build times.
d4aa2ca
to
efb8dcf
Compare
I'm going to leave this PR as 14→16 and make another PR for 16→18. Just in case there are issues with 14→18, it'll be easier to figure out where the issue comes from. I plan to merge this once CI passes and I verify ability to run |
Description of proposed changes
Upgrade to Node.js 16 and remove a redundant Auspice build that comes with the upgrade.
Pre-merge tasks
Related issue(s)
Testing