Commit b1340c6

mo khan <mo@mokhan.ca>
2017-02-17 20:29:31
install npm via apt-get
1 parent 5558bfc
Changed files (1)
.gitlab-ci.yml
@@ -18,7 +18,7 @@ cache:
 before_script:
   - ruby -v                                   # Print out ruby version for debugging
   - apt-get update -q && apt-get install nodejs -yqq
-  - npm install npm -g
+  - apt-get install npm -yqq
   - npm install phantomjs-prebuilt -g
   - gem install bundler  --no-ri --no-rdoc    # Bundler is not installed with the image
   - bundle install -j $(nproc) --path vendor  # Install dependencies into ./vendor/ruby