mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-03 12:02:53 +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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user