From 021e74b3bb4b627d73b983d2e5de27f40b84f10c Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 22 Jul 2021 11:55:29 +0200 Subject: Improved the Gitlab CI config and fixed it's indentation --- .gitlab-ci.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3-18-g5258