aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 5d53e9aed10b11cc641b347f520888205eb9d988 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
image: node:9.1.0

cache:
    untracked: true

stages:
    - build
    - test
    - lint

install:
    stage: build
    script:
        - npm install --global yarn
        - yarn

unit-test:
    stage: test
    script:
        - yarn test:unit

route-test:
    stage: test
    script:
        - yarn test:routes

lint:
    stage: lint
    script:
        - yarn _lint