-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Follow up to 9ec9567 Closes #16759 Differential Revision: D6285219 Pulled By: hramos fbshipit-source-id: 7012d257a5a6cff06cb2d94203a9379e4b7e3c4e
- Loading branch information
1 parent
ae5ef65
commit e11d496
Showing
96 changed files
with
2,202 additions
and
1,091 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -239,17 +239,22 @@ jobs: | |
command: | | ||
cd website | ||
npm install --no-package-lock --no-spin --no-progress | ||
# The CIRCLE_PROJECT_USERNAME and CIRCLE_PR_USERNAME checks below | ||
# ensure deploys only happen on projects owned by "facebook", | ||
# never on a forked PR build. | ||
- run: | ||
name: Build and Deploy Static Website | ||
command: | | ||
if [[ $CIRCLE_PROJECT_USERNAME == "facebook" && -z $CI_PULL_REQUEST && -z $CIRCLE_PR_USERNAME ]]; then | ||
if [[ $CIRCLE_PROJECT_USERNAME == "facebook" && -z $CIRCLE_PR_USERNAME ]]; then | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Website Deployment Script" | ||
echo "machine github.com login reactjs-bot password $GITHUB_TOKEN" > ~/.netrc | ||
echo "Deploying website..." | ||
cd website && GIT_USER=reactjs-bot npm run gh-pages | ||
elif [[ -n $CIRCLE_PR_USERNAME ]]; then | ||
echo "Skipping website deploy, this is a forked PR build." | ||
else | ||
echo "Skipping deploy." | ||
echo "Skipping website deploy." | ||
fi | ||
# Build JavaScript bundle for Android tests | ||
|
@@ -438,10 +443,12 @@ jobs: | |
- checkout | ||
- restore-cache: *restore-cache-analysis | ||
- run: *install-node-dependencies | ||
# The CIRCLE_PR_NUMBER checks below ensure | ||
# code analysis only runs on forked PR builds. | ||
- run: | ||
name: Install Dependencies | ||
command: | | ||
if [ -n "$CIRCLE_PULL_REQUEST" ]; then | ||
if [ -n "$CIRCLE_PR_NUMBER" ]; then | ||
npm install [email protected] | ||
cd danger | ||
npm install --no-package-lock --no-spin --no-progress | ||
|
@@ -453,17 +460,17 @@ jobs: | |
- run: | ||
name: Analyze Pull Request | ||
command: | | ||
if [ -n "$CIRCLE_PULL_REQUEST" ]; then | ||
if [ -n "$CIRCLE_PR_NUMBER" ]; then | ||
cd danger && DANGER_GITHUB_API_TOKEN="e622517d9f1136ea8900""07c6373666312cdfaa69" npm run danger | ||
else | ||
echo "Skipping pull request analysis." | ||
fi | ||
when: always | ||
# Run eslint | ||
# Run eslint | ||
- run: | ||
name: Analyze Code | ||
command: | | ||
if [ -n "$CIRCLE_PULL_REQUEST" ]; then | ||
if [ -n "$CIRCLE_PR_NUMBER" && -n "$CIRCLE_PROJECT_USERNAME" && -n "$CIRCLE_PROJECT_REPONAME" ]; then | ||
cat <(echo eslint; npm run lint --silent -- --format=json; echo flow; npm run flow --silent -- check --json) | GITHUB_TOKEN="af6ef0d15709bc91d""06a6217a5a826a226fb57b7" CI_USER=$CIRCLE_PROJECT_USERNAME CI_REPO=$CIRCLE_PROJECT_REPONAME PULL_REQUEST_NUMBER=$CIRCLE_PR_NUMBER node bots/code-analysis-bot.js | ||
else | ||
echo "Skipping code analysis." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
id: android-ui-performance | ||
title: Profiling Android UI Performance | ||
layout: redirect | ||
permalink: docs/android-ui-performance.html | ||
destinationUrl: performance.html | ||
--- | ||
Redirecting... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.