aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-22 11:55:29 +0200
committerHampusM <hampus@hampusmat.com>2021-07-22 11:55:29 +0200
commit021e74b3bb4b627d73b983d2e5de27f40b84f10c (patch)
tree80cfbfba8af897746b96b7b50e457b424324827f /.gitlab-ci.yml
parent32df7b18bc5b7fd9d268fe457352b885f2f68149 (diff)
Improved the Gitlab CI config and fixed it's indentation
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml19
1 files changed, 9 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 56751fc..85afd63 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,16 +1,15 @@
image: node:14-buster
cache:
- paths:
- - node_modules/
+ paths:
+ - node_modules/
test:
- stage: test
- before_script:
- - apt-get update -y -qq
- - apt-get install -y -qq apt-utils
- - apt-get install -y -qq git libpcre3 libpcre2-posix0 libkrb5-3 libk5crypto3 libcom-err2 libssl1.1 libssl-dev
- script:
- - yarn install
- - yarn test
+ stage: test
+ before_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
+ script:
+ - yarn install
+ - yarn test --ci=true