]> git.r.bdr.sh - rbdr/sumo/blame - .gitlab-ci.yml
Merge branch 'feature/rbdr-deploy-to-pages' into 'develop'
[rbdr/sumo] / .gitlab-ci.yml
CommitLineData
8f039ab3
RBR
1image: node:8
2
3stages:
4 - lint
5 - build
2bb8e347
RBR
6 - deploy
7
8cache:
9 key: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
10 paths:
11 - node_modules/
12
13before_script:
14 - npm install
8f039ab3
RBR
15
16lint:
17 stage: lint
18 script:
8f039ab3
RBR
19 - npm run lint
20
21build:
22 stage: build
23 script:
8f039ab3 24 - npm run build
2bb8e347
RBR
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