-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
59 lines (50 loc) · 863 Bytes
/
.gitlab-ci.yml
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
49
50
51
52
53
54
55
56
57
58
59
image: wondermonger/ci-tools:v2
stages:
- install
- lint
- test
- deploy
install:
artifacts:
paths:
- node_modules/
script: ci-node-install
stage: install
outdated:
allow_failure: true
script: ci-node-outdated
stage: install
lint:
script: ci-node-lint
stage: lint
unit:
script: ci-node-test unit
stage: test
integration:
script: ci-node-test integration
stage: test
coverage:
artifacts:
paths:
- coverage/
- README.md
coverage: /All files\s*\|\s*([\d\.]+)/
script:
- ci-node-test coverage
- ci-git-readme-badge -b coverage
stage: test
release:
only:
- master
script:
- ci-git-config
- ci-git-readme-badge -b pipeline
- ci-git-release -a README.md
stage: deploy
publish:
only:
- tags
script:
- ci-node-config
- ci-node-release
stage: deploy