mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make publish job depend on checkout_code as git is not available in RNAndroid docker container
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user