]>
Commit | Line | Data |
---|---|---|
b006b62b BB |
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 | |
53797ff8 BB |
22 | script: |
23 | - echo "noop" | |
b006b62b BB |
24 | artifacts: |
25 | paths: | |
a05152cc | 26 | - . |
b006b62b BB |
27 | only: |
28 | - master |