update Gitlab CI npm install

This commit is contained in:
Akinwale Ariwodola 2020-02-27 13:58:00 +01:00
parent e1e77a771d
commit c65b68a37c

View file

@ -7,7 +7,7 @@ build apk:
stage: build stage: build
image: ubuntu:18.04 image: ubuntu:18.04
before_script: before_script:
- apt-get -y update && apt-get -y install build-essential ca-certificates curl git gpg-agent openjdk-8-jdk nodejs npm software-properties-common wget zipalign - apt-get -y update && apt-get -y install build-essential ca-certificates curl git gpg-agent openjdk-8-jdk software-properties-common wget zipalign
- chmod u+x $CI_PROJECT_DIR/gradlew - chmod u+x $CI_PROJECT_DIR/gradlew
- export BUILD_VERSION=$($CI_PROJECT_DIR/gradlew -q printVersionName --console=plain | tail -1) - export BUILD_VERSION=$($CI_PROJECT_DIR/gradlew -q printVersionName --console=plain | tail -1)
artifacts: artifacts:
@ -24,6 +24,7 @@ build apk:
wget -O - https://api.bintray.com/users/sobolevn/keys/gpg/public.key | apt-key add - wget -O - https://api.bintray.com/users/sobolevn/keys/gpg/public.key | apt-key add -
- apt-get -y update && apt-get -y install yarn git-secret - apt-get -y update && apt-get -y install yarn git-secret
- git secret reveal - git secret reveal
- npm install -g npm@latest
- npm install -g react-native-cli - npm install -g react-native-cli
- git clone https://github.com/lbryio/lbry-react-native - git clone https://github.com/lbryio/lbry-react-native
- cd lbry-react-native - cd lbry-react-native