Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
gurs1kh committed May 27, 2020
2 parents 242b17a + 961ea0a commit ea1b9d5
Show file tree
Hide file tree
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.
392 changes: 52 additions & 340 deletions .circleci/config.yml

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
@@ -1,3 +1,6 @@
# Ignore CHANGELOG.md files to prevent Danger.js from triggering code owner reviews
/packages/**/CHANGELOG.md @ghost

/packages/@unimodules/core @sjchmiela @tsapeta
/packages/@unimodules/react-native-adapter @sjchmiela @tsapeta
/packages/babel-preset-expo @brentvatne
Expand Down Expand Up @@ -66,6 +69,8 @@
/packages/expo-sharing @sjchmiela @bbarthec
/packages/expo-sms @bbarthec
/packages/expo-speech @sjchmiela @mczernek
/packages/expo-splash-screen @bbarthec
/packages/expo-splash-screen-command @bbarthec
/packages/expo-sqlite @sjchmiela @mczernek
/packages/expo-store-review @EvanBacon @tsapeta
/packages/expo-task-manager @tsapeta @mczernek
Expand Down
13 changes: 9 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE
@@ -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.
-->
52 changes: 52 additions & 0 deletions .github/workflows/android-unit-tests.yml
@@ -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
31 changes: 31 additions & 0 deletions .github/workflows/danger.yml
@@ -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 }}
66 changes: 66 additions & 0 deletions .github/workflows/docs.yml
@@ -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
32 changes: 32 additions & 0 deletions .github/workflows/expotools.yml
@@ -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
50 changes: 50 additions & 0 deletions .github/workflows/home.yml
@@ -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 }}
46 changes: 46 additions & 0 deletions .github/workflows/sdk.yml
@@ -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

0 comments on commit ea1b9d5

Please sign in to comment.