diff --git a/.circleci/config.yml b/.circleci/config.yml index 4f169608b..99fac87a3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -383,9 +383,9 @@ jobs: publish_npm_package: <<: *android_defaults steps: - - attach_workspace: - at: ~/react-native - + # Checkout code so that we can work with `git` in publish.js + - checkout + # Configure Android SDK and related dependencies - run: *configure-android-path - run: *install-android-build-dependencies @@ -597,16 +597,12 @@ workflows: # Only runs on NN-stable branches deploy: - jobs: - # Checkout repo and run Yarn - - checkout_code: - filters: *filter-only-stable - + jobs: # 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