From c37b71d17a2bcf5f59d0afac8dcd6abdf9e2b217 Mon Sep 17 00:00:00 2001
From: Imran Hussain <imranh@sucs.org>
Date: Fri, 30 Jun 2017 12:46:42 +0100
Subject: [PATCH] install nodejs from the main site, debian stable packages are
 screweed up

---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7b8777d..1436ce9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,8 +25,9 @@ js-syntax-check:
   script:
    - apt-get clean
    - apt-get update
-   - apt-get install -y nodejs
-   - ln -s /usr/bin/nodejs /usr/bin/node
+#   - apt-get install -y nodejs
+#   - ln -s /usr/bin/nodejs /usr/bin/node
+   - curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    - npm install -g jshint        
    - find htdocs/js/ -name *.js ! -name jquery* | xargs -n 1 jshint --verbose
 
-- 
GitLab