Skip to content
Snippets Groups Projects
Commit 6d6fc810 authored by Tom Käsler's avatar Tom Käsler
Browse files

add test stage to CI

parent d0784bf6
No related merge requests found
...@@ -2,13 +2,19 @@ variables: ...@@ -2,13 +2,19 @@ variables:
BUILD_DIR: dist BUILD_DIR: dist
stages: stages:
- codestyle
- test - test
- build - build
- review - review
- deploy - deploy
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
tslint: tslint:
stage: test stage: codestyle
tags: tags:
- nodejs - nodejs
allow_failure: false allow_failure: false
...@@ -23,6 +29,16 @@ tslint: ...@@ -23,6 +29,16 @@ tslint:
- npm install rxjs - npm install rxjs
- node_modules/tslint/bin/tslint -p ./tsconfig.json -c ./tslint.json --project - node_modules/tslint/bin/tslint -p ./tsconfig.json -c ./tslint.json --project
unit_tests:
stage: test
tags:
- nodejs
allow_failure: false
dependencies: []
script:
- npm install
- npm test
ngbuild: ngbuild:
stage: build stage: build
tags: tags:
......
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