Skip to content

CI: Run with Node.js 18.20#28774

Merged
eps1lon merged 1 commit into
react:mainfrom
eps1lon:ci/node-18
Apr 9, 2024
Merged

CI: Run with Node.js 18.20#28774
eps1lon merged 1 commit into
react:mainfrom
eps1lon:ci/node-18

Conversation

@eps1lon

@eps1lon eps1lon commented Apr 6, 2024

Copy link
Copy Markdown
Collaborator

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
Copy Markdown

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

@kassens kassens left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you 👍

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.

4 participants