From 5be47faff7788728dfc1820df5e40d8a29c7fa71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= Date: Tue, 28 May 2019 07:55:22 -0700 Subject: [PATCH] Make publish job depend on checkout_code as git is not available in RNAndroid docker container --- .circleci/config.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 30d1e1d7814..39b171a9d3b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -670,23 +670,20 @@ jobs: # Only works on stable branches when a properly tagged commit is pushed publish_npm_package: <<: *android_defaults + docker: + - image: circleci/android:api-28-node8-alpha + environment: + - ANDROID_NDK: '/opt/ndk/android-ndk-r17c' steps: - checkout - - - restore-cache: *restore-yarn-cache - run: *yarn # Fetch dependencies using Buck - - restore-cache: *restore-buck-downloads-cache - run: *download-dependencies-buck # Fetch dependencies using Gradle - - restore-cache: *restore-gradle-downloads-cache - run: *download-dependencies-gradle - - restore-cache: *restore-yarn-cache - - run: *yarn - - run: name: Authenticate with npm command: echo "//registry.npmjs.org/:_authToken=${CIRCLE_NPM_TOKEN}" > ~/.npmrc