Skip to content

Commit 40b1792

Browse files
hramosfacebook-github-bot
authored andcommitted
Move approval to separate deploy workflow
Summary: Closes #17916 Differential Revision: D6943605 Pulled By: hramos fbshipit-source-id: 0e86f01aa38c15e5bc179c5e517f079eb34d495f
1 parent 4f078d3 commit 40b1792

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

Diff for: .circleci/config.yml

+12-9
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ jobs:
537537
workflows:
538538
version: 2
539539

540-
build:
540+
test:
541541
jobs:
542542

543543
# Checkout repo and run Yarn
@@ -581,16 +581,19 @@ workflows:
581581
filters: *filter-ignore-gh-pages
582582
requires:
583583
- checkout_code
584-
585-
# If we are on a stable branch, deploy to `npm`
584+
585+
# Run code checks
586+
- analyze_pr:
587+
filters: *filter-ignore-master-stable
588+
requires:
589+
- checkout_code
590+
591+
deploy:
592+
jobs:
593+
# If we are on a stable branch, wait for approval to deploy to npm
586594
- approve_publish_npm_package:
595+
filters: *filter-only-stable
587596
type: approval
588597
- publish_npm_package:
589-
filters: *filter-only-stable
590598
requires:
591599
- approve_publish_npm_package
592-
593-
- analyze_pr:
594-
filters: *filter-ignore-master-stable
595-
requires:
596-
- checkout_code

0 commit comments

Comments
 (0)