-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
48 lines (39 loc) · 1016 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
image: node:11.15.0-stretch
variables:
POSTGRES_DB: buckless_test
POSTGRES_USER: buckless
POSTGRES_PASSWORD: "buckless"
services:
- postgres:latest
- redis:latest
cache:
paths:
- .yarn-cache
- node_modules
before_script:
- apt-get update && apt-get install git openssh-client openssl make gcc g++ python libpcsclite-dev libpcsclite1 pcscd -y
- yarn config set cache-folder "$(pwd)/.yarn-cache"
- yarn install --no-progress --pure-lockfile --ignore-platform --network-timeout 1000000
- cp packages/config/config.json.example packages/config/config.json
- yarn run config build
admin:
script:
# - yarn admin test
- yarn admin build
client:
script:
# - yarn client test
- yarn client build:browser
manager:
script:
- yarn manager test:unit
- yarn manager lint --no-fix --quiet --no-color
- yarn manager build
server:
script:
- yarn server test
# - yarn server build
# stack:
# script:
# - yarn stack test
# - yarn stack build