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