.gitlab-ci.yml 413 Bytes
Newer Older
1
2
3
4
image: node:6.2

cache:
    paths:
5
        - /cache
6
7

before_script:
8
    - npm config set cache /cache
9
10
11
12
13
14
15
16
    - npm install --silent
    - node_modules/.bin/typings install

run_tests:
    script:
        - npm test
    tags:
        - node
17
18
19
20
21
22
23
24
25
26
27
28

pages:
    script:
        - npm run doc-api
        - cp -r doc public
    tags:
        - node
    artifacts:
        paths:
            - public
    only:
        - master