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

Test Babel compiled using an old version of @babel/core #11319

Merged
merged 2 commits into from Mar 23, 2020

Conversation

nicolo-ribaudo
Copy link
Member

Q                       A
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

This should catch regressions where we use a new helper without a fallback
for older versions, or when we use a new @babel/traverse method.

This should catch regressions where we use a new helper without a fallback
for older versions, or when we use a new @babel/traverse method.
#==============================================================================#

startLocalRegistry "$PWD"/scripts/integration-tests/verdaccio-config.yml
yarn upgrade --scope @babel
Copy link
Contributor

Choose a reason for hiding this comment

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

Is yarn upgrade working again in our repo?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh ignore me, it doesn't work. According to the docs, yarn upgrade doesn't modify package.json if it's not needed, but it still updates the dependencies. You can see that yarn.lock changes after running this command.

Copy link
Contributor

Choose a reason for hiding this comment

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

We have replaced yarn upgrade by an ad-hoc script in #11021 due to yarnpkg/yarn#7797. I am not sure if that issue has been fixed or it affects only yarn upgrade-interactive so yarn upgrade is good.

Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't give problems here because we are not using yarn workspaces.
In yarn 2 it's probably fixed since it is a complete rewrite, but if it's not I can work around it in whichever of those two PRs (this one or yarn 2) gets merged last.

@nicolo-ribaudo
Copy link
Member Author

Thanks for all the reviews and thanks to me for the PR!

I didn't enable the test 🤣

@existentialism
Copy link
Member

Tests can't fail if they don't run!

@nicolo-ribaudo nicolo-ribaudo merged commit 9b976b2 into babel:master Mar 23, 2020
@nicolo-ribaudo nicolo-ribaudo deleted the e2e-old-babel branch March 23, 2020 21:42
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jun 23, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: tests outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants