From 89fcf5b642a419a07c3ac52183be394600643ca3 Mon Sep 17 00:00:00 2001 From: Karl-Philipp Wulfert Date: Tue, 26 Feb 2019 16:55:53 +0100 Subject: [PATCH] ci: add test job for generation of route documentation --- .gitlab-ci.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21150099..02d1177a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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