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