aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml25
1 files changed, 21 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 996e6b1..7b94e1b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,11 +4,28 @@ cache:
paths:
- node_modules/
-test:
- stage: test
- before_script:
+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
- - yarn test --ci=true \ No newline at end of file
+
+test:
+ stage: test
+ script:
+ - yarn test --ci=true
+
+eslint:
+ stage: test
+ script:
+ - yarn eslint packages/server
+ - yarn workspace client lint \ No newline at end of file