https://github.com/thojkooi/ci-nodejs
Docker image with NodeJS and other pre-installed tools, aimed to be used with Gitlab CI
https://github.com/thojkooi/ci-nodejs
ci docker dockerfile gitlab gitlab-ci
Last synced: 2 months ago
JSON representation
Docker image with NodeJS and other pre-installed tools, aimed to be used with Gitlab CI
- Host: GitHub
- URL: https://github.com/thojkooi/ci-nodejs
- Owner: thojkooi
- License: mit
- Created: 2017-10-01T07:06:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-21T16:18:42.000Z (over 7 years ago)
- Last Synced: 2025-09-10T06:13:08.424Z (10 months ago)
- Topics: ci, docker, dockerfile, gitlab, gitlab-ci
- Language: HCL
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gitlab CI - NodeJS
[](https://gitlab.com/thojkooi/ci-nodejs/commits/master) [](https://hub.docker.com/r/thojkooi/ci-nodejs/) [](https://hub.docker.com/r/thojkooi/ci-nodejs/)
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:
```yaml
unit-tests:
stage: test
image: registry.gitlab.com/thojkooi/ci-nodejs
before_script:
- npm install
script:
- mocha
- eslint .
```