forked from ebi-uniprot/gifts-curation-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
51 lines (47 loc) · 813 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
stages:
- build_static_assets_staging
- build_static_assets_prod
- build_static_assets_fallback
.js:
image: node:16
before_script:
- git --version
- node --version
- npm --version
- yarn --version
build_static_assets_staging:
only:
refs:
- master
extends: .js
stage: build_static_assets_staging
script:
- yarn
- yarn build:staging
artifacts:
paths:
- build/
build_static_assets_prod:
only:
refs:
- master
extends: .js
stage: build_static_assets_prod
script:
- yarn
- yarn build
artifacts:
paths:
- build/
build_static_assets_fallback:
only:
refs:
- master
extends: .js
stage: build_static_assets_fallback
script:
- yarn
- yarn build:fallback
artifacts:
paths:
- build/