Skip to content

Added e2e tests for npm@2 and npm@3 #6364

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

Closed
wants to merge 2 commits into from

Conversation

bestander
Copy link
Contributor

Need to make sure we can use both versions of npm client for publishing and installing

Test plan (required)

Make sure tests pass on both Travis and Circle CI.

Considering that community runs both we need to make sure that react native can be published and installed with both
@bestander
Copy link
Contributor Author

@frantic now the exit codes and stderr is ok?

@facebook-github-bot
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @mkonicek, @bestander and @frantic to be potential reviewers.

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Mar 8, 2016
@bestander
Copy link
Contributor Author

@mkonicek this is what you had in mind?
I kind of wanted to test all for possibilities:

  • published with npm@2, installed with npm@2
  • published with npm@2, installed with npm@3
  • published with npm@3, installed with npm@2
  • published with npm@3, installed with npm@3

But I did not want to make e2e-test script more complex and maybe it will be an overkill

@facebook-github-bot
Copy link
Contributor

@bestander updated the pull request.

@@ -2,11 +2,6 @@ language: objective-c

osx_image: xcode7.2

cache:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tested this setting does not do anything, .nvm is empty on every build and npm install is done fresh.
Not too bad, npm is stable recentlly and takes just 3 minutes

@frantic
Copy link
Contributor

frantic commented Mar 10, 2016

👍

@bestander
Copy link
Contributor Author

@facebook-github-bot shipit

@facebook-github-bot
Copy link
Contributor

Thanks for importing. If you are an FB employee go to Phabricator to review.

@ghost ghost closed this in a611ec5 Mar 10, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants