-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitlab-ci.yml
99 lines (89 loc) · 1.93 KB
/
.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
image: privacybydesign/node_yarn:latest
stages:
- build
before_script:
- set -euxo pipefail
yivi-core:
stage: build
artifacts:
# Disabling artifact expiry is not supported yet, so make
expire_in: 10 year
paths:
- yivi-core
script:
- cd yivi-core
- npm install --only=prod
yivi-client:
stage: build
artifacts:
# Disabling artifact expiry is not supported yet, so make
expire_in: 10 year
paths:
- plugins/yivi-client
script:
- cd plugins/yivi-client
- npm install --only=prod
yivi-console:
stage: build
artifacts:
# Disabling artifact expiry is not supported yet, so make
expire_in: 10 year
paths:
- plugins/yivi-console
script:
- cd plugins/yivi-console
- npm install --only=prod
yivi-dummy:
stage: build
artifacts:
# Disabling artifact expiry is not supported yet, so make
expire_in: 10 year
paths:
- plugins/yivi-dummy
script:
- cd plugins/yivi-dummy
- npm install --only=prod
yivi-web:
stage: build
artifacts:
# Disabling artifact expiry is not supported yet, so make
expire_in: 10 year
paths:
- plugins/yivi-web
script:
- cd plugins/yivi-web
- npm install --only=prod
yivi-css:
stage: build
artifacts:
# Disabling artifact expiry is not supported yet, so make
expire_in: 10 year
paths:
- yivi-css
script:
- cd yivi-css
- npm install
- npm run release
- rm -rf node_modules
yivi-popup:
stage: build
artifacts:
# Disabling artifact expiry is not supported yet, so make
expire_in: 10 year
paths:
- plugins/yivi-popup
script:
- cd plugins/yivi-popup
- npm install --only=prod
yivi-frontend:
stage: build
artifacts:
# Disabling artifact expiry is not supported yet, so make
expire_in: 10 year
paths:
- yivi-frontend
script:
- cd yivi-frontend
- npm install
- npm run release
- rm -rf node_modules