ci: add prettier check
This commit is contained in:
parent
41c51cdb74
commit
87251acc82
2 changed files with 10 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue