Commit c977f70e authored by Imran Hussain's avatar Imran Hussain
Browse files

Use node:current image

parent 153f56fe
Pipeline #826 passed with stage
in 4 minutes and 23 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment