From 54e10cacd3691889a9e3b530ce3369a978dcccaf Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 5 Dec 2024 16:25:40 +0100 Subject: [PATCH] git use apk instead of apt-get to install jq --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7f83d7ac0..183694b55 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -112,7 +112,7 @@ lint: - export PATH="./node_modules/.bin:$PATH" script: - yarn install --ignore-optional - - apt-get update && apt-get install -y jq + - apk add --no-cache jq - eslint "**/*.{js,vue}" --format json | jq '[.[] | select(.messages | length > 0)]' > eslint-current.json - new_errors=$(diff <(jq -S . eslint-baseline.json) <(jq -S . eslint-current.json)) - |