feat: add GitLab API

This commit is contained in:
Karl-Philipp Wulfert
2018-11-29 12:08:06 +01:00
commit 54d212963c
13 changed files with 3427 additions and 0 deletions

39
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,39 @@
image: node:lts-alpine
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
test:
stage: test
script:
- npm test
artifacts:
paths:
- coverage
pages:
stage: deploy
script:
- npm run documentation
- mv docs public
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
artifacts:
paths:
- public