Pre-build image containing NodeJS and various additional nodejs packages to save having to install those during pipeline builds.
- mocha
- grunt
- bower
- nyc
- jshint
- eslint
- htmlhint
- notes
- npm-dview
- snazzy
- nsp
- js-yaml
In gitlab-ci:
unit-tests:
stage: test
image: registry.gitlab.com/thojkooi/ci-nodejs
before_script:
- npm install
script:
- mocha
- eslint .