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

[Circle CI] Add Danger and publish to npm #16350

Closed
wants to merge 10 commits into from
Closed

[Circle CI] Add Danger and publish to npm #16350

wants to merge 10 commits into from

Conversation

hramos
Copy link
Contributor

@hramos hramos commented Oct 12, 2017

Test Plan

Run on Circle

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 12, 2017
@hramos hramos requested a review from grabbou October 13, 2017 06:53

test-node-6:
test-javascript-node-6:
Copy link
Contributor

Choose a reason for hiding this comment

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

js is more concise?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. Feel free to edit the file on the PR (if you have access)

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, true, will play around :)

name: Install Dependencies
command: |
npm config set spin=false
npm config set progress=false
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make a common step for npm install just like we did for cache restoration and use it like this? We seem to be repeating that over and over in many places.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed. I like what you did in the other PR.

- run: |
npm test -- --maxWorkers=2
npm run lint
npm run flow -- check

test-node-4:
test-javascript-node-4:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think js is more concise?

Copy link
Contributor

@grabbou grabbou left a comment

Choose a reason for hiding this comment

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

Looks good! I like Circle 2 flexibility here! Thanks @hramos, left few comments here and there.

echo "Skipping code analysis."
fi

publish-npm:
Copy link
Contributor

Choose a reason for hiding this comment

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

Discussion here: #16348 (comment)

@grabbou
Copy link
Contributor

grabbou commented Oct 13, 2017

I will also test this PR on my (feature branch). Historically, some builds were failing. Will wait with this once we finish the config itself.

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Oct 16, 2017
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

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. Import Started This pull request has been imported. This does not imply the PR has been approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants