Files
openstapps/.gitlab-ci.yml
Karl-Philipp Wulfert f53e2aa3b8 ci: add ci config
2018-12-04 14:11:46 +01:00

39 lines
504 B
YAML

image: registry.gitlab.com/openstapps/projectmanagement/node
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
except:
- schedules
tslint:
stage: test
script:
- npm run tslint
pages:
stage: deploy
script:
- npm run documentation
- mv docs public
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
artifacts:
paths:
- public