Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8,015 changed files
with
95,593 additions
and
355,439 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1,12 +1,17 @@ | ||
# Why | ||
|
||
Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests. | ||
<!-- | ||
Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests. | ||
--> | ||
|
||
# How | ||
|
||
How did you build this feature or fix this bug and why? | ||
<!-- | ||
How did you build this feature or fix this bug and why? | ||
--> | ||
|
||
# Test Plan | ||
|
||
Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction. | ||
|
||
<!-- | ||
Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction. | ||
--> |
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,52 @@ | ||
name: Android Unit Tests | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
paths: | ||
- .github/workflows/android-unit-tests.yml | ||
- 'android/**' | ||
- 'fastlane/**' | ||
- 'tools/expotools/**' | ||
- yarn.lock | ||
pull_request: | ||
branches: [ master ] | ||
paths: | ||
- .github/workflows/android-unit-tests.yml | ||
- 'android/**' | ||
- 'fastlane/**' | ||
- 'tools/expotools/**' | ||
- yarn.lock | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn install --frozen-lockfile | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('android/*.gradle*') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- run: echo "::add-path::$(pwd)/bin" | ||
- run: expotools android-unit-tests | ||
- name: Save test results | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: test-results | ||
path: packages/**/build/test-results/*xml |
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,31 @@ | ||
name: Danger | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
paths: | ||
- .github/workflows/danger.yml | ||
- packages/** | ||
- yarn.lock | ||
- dangerfile.ts | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn danger ci | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,66 @@ | ||
name: docs | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: docs | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
paths: | ||
- 'docs/**' | ||
- '.github/workflows/docs.yml' | ||
pull_request: | ||
branches: [ master ] | ||
paths: | ||
- 'docs/**' | ||
- '.github/workflows/docs.yml' | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('docs/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn danger ci | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: yarn export | ||
timeout-minutes: 15 | ||
- name: test links | ||
run: | | ||
yarn export-server & | ||
while ! nc -z localhost 8000; do | ||
sleep 1 | ||
done | ||
yarn test-links http://127.0.0.1:8000 | ||
timeout-minutes: 1 | ||
- run: sudo apt-get install awscli | ||
- run: ./deploy.sh | ||
if: ${{ github.event.ref == 'refs/heads/master' }} | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
- uses: 8398a7/action-slack@v3 | ||
if: failure() && github.event.ref == 'refs/heads/master' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_docs }} | ||
with: | ||
channel: '#docs' | ||
status: ${{ job.status }} | ||
fields: commit,author,action,message | ||
author_name: docs build |
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,32 @@ | ||
name: Expotools | ||
|
||
on: | ||
push: | ||
branches: [ master, 'sdk-*' ] | ||
paths: | ||
- .github/workflows/expotools.yml | ||
- tools/expotools/** | ||
pull_request: | ||
branches: [ master ] | ||
paths: | ||
- .github/workflows/expotools.yml | ||
- tools/expotools/** | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('tools/expotools/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn install --ignore-scripts --frozen-lockfile | ||
working-directory: tools/expotools | ||
- run: yarn tsc | ||
working-directory: tools/expotools |
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,50 @@ | ||
name: Home app | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
paths: | ||
- .github/workflows/home.yml | ||
- home/** | ||
- yarn.lock | ||
push: | ||
branches: [ master, 'sdk-*' ] | ||
paths: | ||
- .github/workflows/home.yml | ||
- home/** | ||
- yarn.lock | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-node@v2-beta | ||
with: | ||
node-version: '12' | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn jest --maxWorkers 1 | ||
working-directory: home | ||
- run: yarn lint | ||
working-directory: home | ||
- uses: 8398a7/action-slack@v3 | ||
if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) | ||
with: | ||
channel: '#api' | ||
status: ${{ job.status }} | ||
author_name: home/build | ||
fields: commit,author,action,message | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_api }} |
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,46 @@ | ||
name: SDK | ||
|
||
on: | ||
push: | ||
branches: [ master, 'sdk-*' ] | ||
paths: | ||
- .github/workflows/sdk.yml | ||
- tools/expotools/** | ||
- packages/** | ||
- yarn.lock | ||
pull_request: | ||
branches: [ master ] | ||
paths: | ||
- .github/workflows/sdk.yml | ||
- tools/expotools/** | ||
- packages/** | ||
- yarn.lock | ||
|
||
jobs: | ||
check-packages: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn install --frozen-lockfile | ||
- run: bin/expotools check-packages | ||
- uses: 8398a7/action-slack@v3 | ||
if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_api }} | ||
with: | ||
channel: '#api' | ||
status: ${{ job.status }} | ||
fields: commit,author,action,message | ||
author_name: sdk check-packages |
Oops, something went wrong.