diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 99e3403a8da167b52c5b534b6565090c2bc4a675..5ecf4aac18729031969194b03bb798a08812fd30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,15 +22,8 @@ php-syntax-check: js-syntax-check: stage: test + image: node:current script: - - apt-get clean - - apt-get update -# - apt-get install -y nodejs -# - ln -s /usr/bin/nodejs /usr/bin/node - - apt-get install -y curl gnupg - - curl -sL https://deb.nodesource.com/setup_8.x | bash - - - apt-get install -y nodejs - - apt-get install -y npm - npm install -g jshint - find htdocs/js/ -name *.js ! -name jquery* | xargs -n 1 jshint --verbose @@ -52,4 +45,4 @@ deploy-live: - curl https://sucs.org/pull.php only: - sucs-site - environment: live \ No newline at end of file + environment: live