-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
48 lines (43 loc) · 785 Bytes
/
.gitlab-ci.yml
File metadata and controls
48 lines (43 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
cache:
key: "${CI_COMMIT_REF_SLUG}"
paths:
- node_modules/
stages:
- build
- test
- publish
build:
image: registry.wheniwork.com/containers/node:8.9-alpine
stage: build
script:
- yarn install
- yarn build
- yarn test
artifacts:
untracked: true
expire_in: 10 minutes
tags:
- dind-development-xl
test:
image: registry.wheniwork.com/containers/node:8.9-alpine
stage: test
script:
- yarn test
artifacts:
untracked: true
expire_in: 10 minutes
tags:
- dind-development-xl
publish:
image: registry.wheniwork.com/containers/node:8.9-alpine
stage: publish
script:
- npm publish
tags:
- dind-production
artifacts:
paths:
- coverage/lcov-report/
expire_in: 1 week
only:
- master