Summary: Closes https://github.com/facebook/react-native/pull/17917

Differential Revision: D6944553

Pulled By: hramos

fbshipit-source-id: 013f5e75bd61d939fe650729c9c388a78bede330
This commit is contained in:
Héctor Ramos 2018-02-08 16:53:51 -08:00 коммит произвёл Facebook Github Bot
Родитель 40b17926bb
Коммит 2ef9b7f2da
1 изменённых файлов: 13 добавлений и 0 удалений

Просмотреть файл

@ -582,18 +582,31 @@ workflows:
requires: requires:
- checkout_code - checkout_code
# Only runs on PRs
analyze:
jobs:
# Checkout repo and run Yarn
- checkout_code:
filters: *filter-ignore-master-stable
# Run code checks # Run code checks
- analyze_pr: - analyze_pr:
filters: *filter-ignore-master-stable filters: *filter-ignore-master-stable
requires: requires:
- checkout_code - checkout_code
# Only runs on NN-stable branches
deploy: deploy:
jobs: jobs:
# Checkout repo and run Yarn
- checkout_code:
filters: *filter-only-stable
# If we are on a stable branch, wait for approval to deploy to npm # If we are on a stable branch, wait for approval to deploy to npm
- approve_publish_npm_package: - approve_publish_npm_package:
filters: *filter-only-stable filters: *filter-only-stable
type: approval type: approval
- publish_npm_package: - publish_npm_package:
requires: requires:
- checkout_code
- approve_publish_npm_package - approve_publish_npm_package