ci: adjust jobs to match configuration

This commit is contained in:
Karl-Philipp Wulfert
2019-05-14 16:25:32 +02:00
parent d8cdce680d
commit 0f056cb650

View File

@@ -5,6 +5,9 @@ cache:
paths:
- node_modules
before_script:
- npm install
stages:
- build
- test
@@ -13,7 +16,6 @@ stages:
build:
stage: build
script:
- npm install
- npm run build
artifacts:
paths:
@@ -38,23 +40,22 @@ scheduled-audit:
mocha:
stage: test
script:
- npm install
- npm test
pages:
stage: deploy
script:
- npm install
- npm run documentation
- mv docs public
only:
- master
artifacts:
paths:
- public
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
docker:
image: registry.gitlab.com/openstapps/projectmanagement/builder:latest
before_script: []
dependencies:
- build
stage: deploy