From c65b68a37cc9c65161246d2a32d51fb9067a8f6e Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 27 Feb 2020 13:58:00 +0100 Subject: [PATCH] update Gitlab CI npm install --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fdfa84ac..dcdcf943 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ build apk: stage: build image: ubuntu:18.04 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 - export BUILD_VERSION=$($CI_PROJECT_DIR/gradlew -q printVersionName --console=plain | tail -1) artifacts: @@ -24,6 +24,7 @@ build apk: 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 - git secret reveal + - npm install -g npm@latest - npm install -g react-native-cli - git clone https://github.com/lbryio/lbry-react-native - cd lbry-react-native