-
Notifications
You must be signed in to change notification settings - Fork 24.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
[Circle CI] Add Danger and publish to npm #16350
Conversation
.circleci/config.yml
Outdated
|
||
test-node-6: | ||
test-javascript-node-6: |
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.
js
is more concise?
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.
Sure. Feel free to edit the file on the PR (if you have access)
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.
Ah, true, will play around :)
.circleci/config.yml
Outdated
name: Install Dependencies | ||
command: | | ||
npm config set spin=false | ||
npm config set progress=false |
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.
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.
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.
Agreed. I like what you did in the other PR.
.circleci/config.yml
Outdated
- run: | | ||
npm test -- --maxWorkers=2 | ||
npm run lint | ||
npm run flow -- check | ||
|
||
test-node-4: | ||
test-javascript-node-4: |
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.
I think js
is more concise?
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.
Looks good! I like Circle 2 flexibility here! Thanks @hramos, left few comments here and there.
echo "Skipping code analysis." | ||
fi | ||
|
||
publish-npm: |
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.
Discussion here: #16348 (comment)
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. |
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.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Test Plan
Run on Circle