From c08118d6e3a955817a110d45b44cb066b56517f5 Mon Sep 17 00:00:00 2001 From: Daniel Rainer <daniel.m.rainer@student.uibk.ac.at> Date: Tue, 1 Mar 2022 22:07:54 +0100 Subject: [PATCH] Try showing eslint output with log file --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b6825befe..43ce8e633 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,7 +35,8 @@ eslint: script: - npm install # eslint exits 0 on warnings, this is a workaround to exit 1 when warnings are present. - - '! npm run lint | tee "$(tty)" | grep -qE ''✖ [0-9]+ problem''' + - '! npm run lint | tee lint.log' + - "grep -qE '✖ [0-9]+ problem' lint.log" allow_failure: true needs: [] -- GitLab