mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
git use apk instead of apt-get to install jq
This commit is contained in:
parent
3ca126804b
commit
54e10cacd3
@ -112,7 +112,7 @@ lint:
|
|||||||
- export PATH="./node_modules/.bin:$PATH"
|
- export PATH="./node_modules/.bin:$PATH"
|
||||||
script:
|
script:
|
||||||
- yarn install --ignore-optional
|
- 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
|
- 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))
|
- new_errors=$(diff <(jq -S . eslint-baseline.json) <(jq -S . eslint-current.json))
|
||||||
- |
|
- |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user