[gtk-web/new-website: 38/191] Update .gitlab-ci.yml



commit 9f345073b0b549cadf55201e0bd332ba3784d271
Author: Ravgeet Dhillon <ravgeetdhillon gmail com>
Date:   Thu May 30 12:21:07 2019 +0000

    Update .gitlab-ci.yml

 .gitlab-ci.yml | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aeca275..57033d0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,18 +5,15 @@ variables:
   LC_ALL: C.UTF-8
 
 before_script:
-  - apt-get update -qy 
-  - apt-get install -qy locales
-  - echo "en_US UTF-8" > /etc/locale.gen
-  - locale-gen en_US en_US.UTF-8
-  - export LANG=en_US.UTF-8
-  - export LANGUAGE=en_US:en
-  - export LC_ALL=en_US.UTF-8
-  - curl -sL https://deb.nodesource.com/setup_10.x
-  - apt-get install -y nodejs
-  - apt-get install -y npm
-  - ln -s /usr/bin/nodejs /usr/bin/node
-  - npm install -g npm
+  - apt-get update -y
+  - apt-get install -y libssl-dev build-essential wget
+  - wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
+  - source /root/.bashrc
+  - nvm install 6.6.0
+  - nvm use 6.6.0
+  - node -v
+  - npm -v
+  - npm install
   - gem install bundler
   - bundle install
   - move /Y node_modules/bootstrap assets/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]