-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
51 lines (46 loc) · 1.03 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
stages:
- build
- deploy
build:linux:
stage: build
tags: ["docker-capsule-64"]
script:
- npm ci --no-audit
- xvfb-run -- npm run build -- --os linux --arch x86_64 --test-runtime electron
artifacts:
expire_in: 1 week
paths: ["artifacts"]
build:darwin:
stage: build
tags: ["darwin"]
script:
- npm ci --no-audit
- npm run build -- --os darwin --arch x86_64 --test-runtime electron
artifacts:
expire_in: 1 week
paths: ["artifacts"]
build:windows:i686:
stage: build
tags: ["windows"]
script:
- npm ci --no-audit
- npm run build -- --os windows --arch i686 --test-runtime electron
artifacts:
expire_in: 1 week
paths: ["artifacts"]
build:windows:x86_64:
stage: build
tags: ["windows"]
script:
- npm ci --no-audit
- npm run build -- --os windows --arch x86_64 --test-runtime electron
artifacts:
expire_in: 1 week
paths: ["artifacts"]
deploy:
stage: deploy
only: ["tags"]
tags: ["docker-capsule-64"]
script:
- npm ci --no-audit
- npm run deploy