]> git.r.bdr.sh - rbdr/sumo/blame_incremental - .gitlab-ci.yml
Deploy to Pages
[rbdr/sumo] / .gitlab-ci.yml
... / ...
CommitLineData
1image: node:8
2
3stages:
4 - lint
5 - build
6 - deploy
7
8cache:
9 key: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
10 paths:
11 - node_modules/
12
13before_script:
14 - npm install
15
16lint:
17 stage: lint
18 script:
19 - npm run lint
20
21build:
22 stage: build
23 script:
24 - npm run build
25 artifacts:
26 paths:
27 - dist
28
29pages:
30 stage: deploy
31 script:
32 - mv dist public
33 artifacts:
34 paths:
35 - public
36 only:
37 - develop