blob: c92d1e566f1ed1b5aeac5787f11c53630ac8c02f (
plain)
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
|
image: node:14-buster
cache:
paths:
- node_modules/
stages:
- prepare
- test
apt:
stage: prepare
script:
- apt-get update -y -qq
- DEBIAN_FRONTEND=noninteractive apt-get install -y -qq git libpcre3 libpcre2-posix0 libkrb5-3 libk5crypto3 libcom-err2 libssl1.1 libssl-dev
yarn-install:
stage: prepare
script:
- yarn install
test:
stage: test
script:
- yarn test --ci=true
eslint:
stage: test
before_script:
- >
echo -e "host: localhost\nport: 8080\ndev_port: 8008\ntitle: test" > settings.yml
script:
- yarn eslint packages/server
- yarn workspace client lint
|