ci: add prettier check

This commit is contained in:
Michael Kriese 2023-12-06 14:39:08 +01:00
parent 41c51cdb74
commit 87251acc82
No known key found for this signature in database
GPG key ID: B83F553A0724D44E
2 changed files with 10 additions and 4 deletions

View file

@ -38,7 +38,7 @@ pipeline:
# replace localhost or 0.0.0.0 in the kubeconfig file with "docker", in order to be able to reach the cluster through the docker service
- sed -i -E -e 's/localhost|0\.0\.0\.0/docker/g' $${KUBECONFIG}
chart-testing:
ct-install:
image: quay.io/helmpack/chart-testing:v3.10.1
pull: true
commands:

View file

@ -10,6 +10,13 @@ when:
- release/**
pipeline:
prettier:
image: alpine:3.18.5
pull: true
commands:
- apk add nodejs npm
- npm run prettier
deps:
image: alpine:3.18.5
pull: true
@ -49,13 +56,12 @@ pipeline:
- git diff --exit-code --name-only README.md
yaml-lint:
image: alpine:3.18.5
image: quay.io/helmpack/chart-testing:v3.10.1
pull: true
commands:
- apk add yamllint
- yamllint -f colored .
chart-testing:
ct-lint:
image: quay.io/helmpack/chart-testing:v3.10.1
pull: true
commands: