Files
openstapps/.gitlab-ci.yml
Wieland Schöbl 8f62b0faa0 Initial commit
2019-09-03 14:03:57 +02:00

37 lines
497 B
YAML

image: registry.gitlab.com/openstapps/projectmanagement/node
stages:
- test
- deploy
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules
audit:
allow_failure: true
except:
- schedules
script:
- npm audit
stage: test
scheduled-audit:
only:
- schedules
script:
- npm audit
stage: test
pages:
artifacts:
paths:
- public
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
script:
- npm run documentation
- mv docs public
stage: deploy