Skip to content

Commit 79e8f3d

Browse files
committed
ci: Only use helm kubeval if installed
1 parent a37572d commit 79e8f3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/dev/lint.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ main() {
88
stylelint $(git ls-files "*.css")
99
tsc --noEmit
1010
shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files "*.sh")
11-
helm kubeval ci/helm-chart
11+
if command -v helm && helm kubeval --help > /dev/null; then
12+
helm kubeval ci/helm-chart
13+
fi
1214
}
1315

1416
main "$@"

0 commit comments

Comments
 (0)