diff options
-rw-r--r-- | .gitlab-ci.yml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8eb726b..95994cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -1,6 +1,21 @@ | |||
1 | image: node:10.11-alpine | 1 | image: node:8.12-alpine |
2 | |||
3 | cache: | ||
4 | key: yarn_cache | ||
5 | paths: | ||
6 | - .yarn_cache | ||
7 | |||
8 | stages: | ||
9 | - install | ||
10 | - build | ||
11 | |||
12 | install: | ||
13 | stage: install | ||
14 | script: | ||
15 | - yarn install --cache-folder ../.yarn_cache | ||
2 | 16 | ||
3 | build: | 17 | build: |
18 | stage: build | ||
4 | script: | 19 | script: |
5 | - yarn build | 20 | - yarn build |
6 | 21 | ||