thojkooi / ci-nodejs

Docker image with NodeJS and other pre-installed tools, aimed to be used with Gitlab CI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitlab CI - NodeJS

build status Docker Build Statu Docker hub

Pre-build image containing NodeJS and various additional nodejs packages to save having to install those during pipeline builds.

Available tools

  • mocha
  • grunt
  • bower
  • nyc
  • jshint
  • eslint
  • htmlhint
  • notes
  • npm-dview
  • snazzy
  • nsp
  • js-yaml

Usage

In gitlab-ci:

unit-tests:
    stage: test
    image: registry.gitlab.com/thojkooi/ci-nodejs
    before_script:
      - npm install
    script:
      - mocha
      - eslint .

About

Docker image with NodeJS and other pre-installed tools, aimed to be used with Gitlab CI

License:MIT License


Languages

Language:HCL 80.2%Language:Dockerfile 19.8%