ci: add test job for generation of route documentation

This commit is contained in:
Karl-Philipp Wulfert
2019-02-26 16:55:53 +01:00
parent d3ce936626
commit 89fcf5b642

View File

@@ -3,7 +3,6 @@ image: registry.gitlab.com/openstapps/projectmanagement/node:latest
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- lib
- node_modules
before_script:
@@ -20,6 +19,9 @@ build:
stage: build
script:
- npm run build
artifacts:
paths:
- lib
test:
tags:
@@ -35,6 +37,17 @@ audit:
script:
- npm audit
routes:
dependencies:
- build
stage: test
script:
- npm install @openstapps/core
- node lib/cli.js routes node_modules/@openstapps/core routes.md
artifacts:
paths:
- routes.md
pages:
tags:
- docker