aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 7b94e1b2caf0003ede3214dfebc5ef675db0913f (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
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
    script:
        - yarn eslint packages/server
        - yarn workspace client lint