Checkout code prior to deploy
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:
Родитель
40b17926bb
Коммит
2ef9b7f2da
|
@ -582,18 +582,31 @@ workflows:
|
|||
requires:
|
||||
- checkout_code
|
||||
|
||||
# Only runs on PRs
|
||||
analyze:
|
||||
jobs:
|
||||
# Checkout repo and run Yarn
|
||||
- checkout_code:
|
||||
filters: *filter-ignore-master-stable
|
||||
|
||||
# Run code checks
|
||||
- analyze_pr:
|
||||
filters: *filter-ignore-master-stable
|
||||
requires:
|
||||
- checkout_code
|
||||
|
||||
# Only runs on NN-stable branches
|
||||
deploy:
|
||||
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
|
||||
- approve_publish_npm_package:
|
||||
filters: *filter-only-stable
|
||||
type: approval
|
||||
- publish_npm_package:
|
||||
requires:
|
||||
- checkout_code
|
||||
- approve_publish_npm_package
|
||||
|
|
Загрузка…
Ссылка в новой задаче