mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 01:41:24 -06:00
Update ci-frontend-metrics.sh (#40569)
This commit is contained in:
parent
ad79473ca3
commit
f7cbb298f7
@ -13,7 +13,7 @@ STRICT_LINT_RESULTS="$(./node_modules/.bin/eslint --rule '@typescript-eslint/no-
|
||||
STRICT_LINT_EXPLICIT_ANY="$(echo "${STRICT_LINT_RESULTS}" | grep -o "no-explicit-any" | wc -l)"
|
||||
|
||||
TOTAL_BUNDLE="$(du -sk ./public/build | cut -f1)"
|
||||
OUTDATED_DEPENDENCIES="$(yarn outdated --all | grep -oP '[[:digit:]]+ *(?=dependencies are out of date)')"
|
||||
OUTDATED_DEPENDENCIES="$(yarn outdated --all | grep -oP '[[:digit:]]+ *(?= dependencies are out of date)')"
|
||||
VULNERABILITY_AUDIT="$(yarn npm audit --all --recursive --json)"
|
||||
LOW_VULNERABILITIES="$(echo "${VULNERABILITY_AUDIT}" | grep -o -i '"severity":"low"' | wc -l)"
|
||||
MED_VULNERABILITIES="$(echo "${VULNERABILITY_AUDIT}" | grep -o -i '"severity":"moderate"' | wc -l)"
|
||||
|
Loading…
Reference in New Issue
Block a user