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

CI: Run with Node.js 18.20 #28774

Merged
merged 1 commit into from
Apr 9, 2024
Merged

CI: Run with Node.js 18.20 #28774

merged 1 commit into from
Apr 9, 2024

Conversation

eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Apr 6, 2024

Summary

Run CI with Node.js 18.20.1 instead of 16.16.0. Node.js 16.x has reached end-of-life. Codesandbox and local development already use 18.x due to .nvmrc anyway.

cimg/openjdk has no version satisfying Node.js ^18.18 which we need for ESLint v9. However, cimg/node does have Java 11 (which is sufficient for GCC). We can only choose between Node.js 18.13 (too low) and Node.js 20.x when using cimg/openjdk. Using Node.js 20.x would be an alternative but means we no longer test the lowest Node.js LTS release.

cimg/node-browsers is also just 170MB instead of 530MB that cimg/openjdk uses which is nice.

How did you test this change?

  • CI

cimg/openjdk has no version satisfying Node.js ^18.18 which we need for ESLint v9.
We can only choose between 18.13 (too low) and 20.x.
20.x might be an alternative but means we no longer test the lowest Node.js LTS release.
@react-sizebot
Copy link

Comparing: 2acfb7b...3fc57bc

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 168.90 kB 168.90 kB = 52.82 kB 52.82 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 170.71 kB 170.71 kB = 53.39 kB 53.39 kB
facebook-www/ReactDOM-prod.classic.js = 590.23 kB 590.23 kB = 103.73 kB 103.73 kB
facebook-www/ReactDOM-prod.modern.js = 566.56 kB 566.56 kB = 99.61 kB 99.61 kB
test_utils/ReactAllWarnings.js Deleted 64.04 kB 0.00 kB Deleted 15.94 kB 0.00 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
test_utils/ReactAllWarnings.js Deleted 64.04 kB 0.00 kB Deleted 15.94 kB 0.00 kB

Generated by 🚫 dangerJS against 3fc57bc

@eps1lon eps1lon marked this pull request as ready for review April 6, 2024 15:47
@eps1lon eps1lon requested a review from kassens April 6, 2024 15:47
@facebook-github-bot facebook-github-bot added the React Core Team Opened by a member of the React Core Team label Apr 6, 2024
Copy link
Member

@kassens kassens left a comment

Choose a reason for hiding this comment

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

Thank you 👍

@eps1lon eps1lon merged commit 50895bc into facebook:main Apr 9, 2024
38 checks passed
@eps1lon eps1lon deleted the ci/node-18 branch April 9, 2024 14:02
rickhanlonii pushed a commit that referenced this pull request Apr 11, 2024
rickhanlonii pushed a commit that referenced this pull request Apr 11, 2024
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants