Commit ef2805ff authored by Manuel Tancoigne's avatar Manuel Tancoigne

Add Gitlab-ci configuration

parent 31433406
---
image: node
stages:
- dependencies
- test
- build
cache:
untracked: true
paths:
- 'node_modules/'
dependencies/yarn:
stage: dependencies
script: yarn install
test/lint:
stage: test
dependencies:
- dependencies/yarn
script:
- yarn lint
test/unit:
stage: test
dependencies:
- dependencies/yarn
script:
- yarn test:unit
build/build:
artifacts:
untracked: true
expire_in: 1 hour
paths:
- 'dist/'
stage: build
script:
- yarn build
# only:
# - master
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment