Update config.yml
This commit is contained in:
parent
fc4d02178a
commit
3083ee8057
|
@ -107,19 +107,31 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Install Node 8
|
||||||
|
command: |
|
||||||
|
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
|
||||||
|
source ~/.nvm/nvm.sh
|
||||||
|
# https://github.com/creationix/nvm/issues/1394
|
||||||
|
set +e
|
||||||
|
nvm install 8
|
||||||
|
echo 'export PATH="/home/circleci/.nvm/versions/node/v8.16.0/bin:$PATH"' >> ~/.bash_profile
|
||||||
|
source ~/.bash_profile
|
||||||
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
name: Restore NPM cache
|
name: Restore NPM cache
|
||||||
key: node-modules-{{ checksum "yarn.lock" }}
|
key: node-modules-{{ checksum "yarn.lock" }}
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Install React Native CLI
|
||||||
|
command: |
|
||||||
|
npm i -g react-native-cli
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Install NPM modules
|
name: Install NPM modules
|
||||||
command: |
|
command: |
|
||||||
yarn
|
yarn
|
||||||
|
|
||||||
- restore_cache:
|
|
||||||
name: Restore gradle cache
|
|
||||||
key: android-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
|
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: restore files from ENV
|
name: restore files from ENV
|
||||||
command: |
|
command: |
|
||||||
|
@ -141,12 +153,6 @@ jobs:
|
||||||
paths:
|
paths:
|
||||||
- ./node_modules
|
- ./node_modules
|
||||||
|
|
||||||
- save_cache:
|
|
||||||
name: Save gradle cache
|
|
||||||
key: android-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
|
|
||||||
paths:
|
|
||||||
- ~/.gradle
|
|
||||||
|
|
||||||
android-play-experimental-build:
|
android-play-experimental-build:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
docker:
|
docker:
|
||||||
|
|
Loading…
Reference in New Issue