]> git.r.bdr.sh - rbdr/flower/blob - .gitlab-ci.yml
have a script in pages step
[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 script:
23 - echo "noop"
24 artifacts:
25 paths:
26 - .
27 only:
28 - master