-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[core] Add react-next
workflow in CircleCI
#13360
Conversation
34b9036
to
da5dc70
Compare
Deploy preview: https://deploy-preview-13360--material-ui-x.netlify.app/ |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
3e8671e
to
ef4b304
Compare
af16dd6
to
add1c88
Compare
This comment was marked as outdated.
This comment was marked as outdated.
1b790e6
to
72a0e79
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice effort! 👏
Leaving a few notes.
Also, there seems to be an issue with one test on react-19.
'@mnajdova/enzyme-adapter-react-18': 'npm:@eps1lon/enzyme-adapter-react-17', | ||
'@testing-library/react': '^12.1.0', | ||
}, | ||
19: {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it only this entry that warranted the need to duplicate this file instead of using the one from monorepo
? 🤔
Is it necessary though? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's one of the reasons.
Another one was that I wasn't sure if the workspace root would be resolved correctly if using the file from the monorepo: https://github.com/mui/material-ui/blob/f993fe56f59d80c9b255c0585b6b428689dfea18/scripts/useReactVersion.mjs#L15
I'll give it a try
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another one was that I wasn't sure if the workspace root would be resolved correctly if using the file from the monorepo: https://github.com/mui/material-ui/blob/f993fe56f59d80c9b255c0585b6b428689dfea18/scripts/useReactVersion.mjs#L15
That script will definitely return the monorepo root.
That was the main reason why the yarn deduplicate
script didn't work on mui-x
. 🙈
https://github.com/mui/material-ui/blob/v5.13.5/scripts/deduplicate.mjs
react_next
workflow in CircleCIreact-next
workflow in CircleCI
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Lukas <[email protected]>
Allows running MUI X tests against various React versions.
I've added a new
react-next
workflow that won't run unless approved manually in CircleCI - see https://github.com/cherniavskii/mui-x/blob/react-19-in-CI/test/README.md#next-version