From 5b0c4bcb04a6e655e684c566d03f7fb731c9e142 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 27 Feb 2020 14:55:32 +0100 Subject: [PATCH] force manual node install --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 093efbbb..6004430b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,9 +10,9 @@ build apk: - apt-get -y update && apt-get -y install build-essential ca-certificates curl git gpg-agent openjdk-8-jdk software-properties-common wget zipalign - wget -q https://nodejs.org/dist/latest-v10.x/node-v10.19.0-linux-x64.tar.gz - tar xf node-v10.19.0-linux-x64.tar.gz -C /opt - - ln -s /opt/node-v10.19.0-linux-x64/bin/node /usr/bin/node - - ln -s /opt/node-v10.19.0-linux-x64/bin/npm /usr/bin/npm - - ln -s /opt/node-v10.19.0-linux-x64/bin/npx /usr/bin/npx + - ln -fs /opt/node-v10.19.0-linux-x64/bin/node /usr/bin/node + - ln -fs /opt/node-v10.19.0-linux-x64/bin/npm /usr/bin/npm + - ln -fs /opt/node-v10.19.0-linux-x64/bin/npx /usr/bin/npx - chmod u+x $CI_PROJECT_DIR/gradlew - export ANDROID_SDK_ROOT=~/.buildozer/android/platform/android-sdk-23 - export BUILD_VERSION=$($CI_PROJECT_DIR/gradlew -q printVersionName --console=plain | tail -1)