diff options
author | HampusM <hampus@hampusmat.com> | 2021-07-25 21:39:54 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-07-25 21:39:54 +0200 |
commit | ed804949e979a667bc271332dcae1ae9fe0939a6 (patch) | |
tree | f31cb37c5750cef4985c57b2a1ea9ffb63d35117 /.gitlab-ci.yml | |
parent | e8392e65591b99f52c89cbec4554c87b19bde335 (diff) |
Organized the Gitlab CI config & added a eslint job
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 25 |
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 |