Files
openstapps/.gitlab-ci.yml
Karl-Philipp Wulfert 40a21110db ci: use correct image
2018-12-18 17:46:08 +01:00

37 lines
479 B
YAML

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