mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 11:42:59 +00:00
ci: add test job for generation of route documentation
This commit is contained in:
@@ -3,7 +3,6 @@ image: registry.gitlab.com/openstapps/projectmanagement/node:latest
|
|||||||
cache:
|
cache:
|
||||||
key: ${CI_COMMIT_REF_SLUG}
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
paths:
|
paths:
|
||||||
- lib
|
|
||||||
- node_modules
|
- node_modules
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
@@ -20,6 +19,9 @@ build:
|
|||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- npm run build
|
- npm run build
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- lib
|
||||||
|
|
||||||
test:
|
test:
|
||||||
tags:
|
tags:
|
||||||
@@ -35,6 +37,17 @@ audit:
|
|||||||
script:
|
script:
|
||||||
- npm audit
|
- 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:
|
pages:
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
|||||||
Reference in New Issue
Block a user