ci: run tests

This commit is contained in:
Karl-Philipp Wulfert
2019-01-07 17:01:26 +01:00
parent e82f235616
commit cc1074b817

View File

@@ -15,16 +15,29 @@ stages:
- deploy - deploy
build: build:
tags:
- docker
stage: build stage: build
script: script:
- npm run build - npm run build
test:
tags:
- docker
stage: test
script:
- npm test
audit: audit:
tags:
- docker
stage: test stage: test
script: script:
- npm audit - npm audit
pages: pages:
tags:
- docker
stage: deploy stage: deploy
script: script:
- npm run documentation - npm run documentation