diff options
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88b0423..98d0d6d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -2,11 +2,12 @@ image: node:8.12-alpine | |||
2 | 2 | ||
3 | cache: | 3 | cache: |
4 | key: yarn_cache | 4 | key: yarn_cache |
5 | paths: | 5 | paths: [ .yarn_cache ] |
6 | - .yarn_cache | ||
7 | 6 | ||
8 | build: | 7 | build: |
9 | script: | 8 | script: |
10 | - yarn install --cache-folder .yarn_cache | 9 | - yarn install --cache-folder .yarn_cache |
11 | - yarn build | 10 | - yarn build |
11 | artifacts: | ||
12 | paths: [ build ] | ||
12 | 13 | ||