]> git.r.bdr.sh - rbdr/flower/blob - .gitlab-ci.yml
9ce6c44697629ee6cd3a6f0fd5710de5a77adfc3
[rbdr/flower] / .gitlab-ci.yml
1 image: node:8
2
3 stages:
4 - lint
5 - deploy
6
7 cache:
8 key: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
9 paths:
10 - node_modules/
11
12 before_script:
13 - npm install
14
15 lint:
16 stage: lint
17 script:
18 - npm run lint
19
20 pages:
21 stage: deploy
22 artifacts:
23 paths:
24 - .
25 only:
26 - master