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
|
# 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}
|
- 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
|
image: quay.io/helmpack/chart-testing:v3.10.1
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
|
|
|
@ -10,6 +10,13 @@ when:
|
||||||
- release/**
|
- release/**
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
|
prettier:
|
||||||
|
image: alpine:3.18.5
|
||||||
|
pull: true
|
||||||
|
commands:
|
||||||
|
- apk add nodejs npm
|
||||||
|
- npm run prettier
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
image: alpine:3.18.5
|
image: alpine:3.18.5
|
||||||
pull: true
|
pull: true
|
||||||
|
@ -49,13 +56,12 @@ pipeline:
|
||||||
- git diff --exit-code --name-only README.md
|
- git diff --exit-code --name-only README.md
|
||||||
|
|
||||||
yaml-lint:
|
yaml-lint:
|
||||||
image: alpine:3.18.5
|
image: quay.io/helmpack/chart-testing:v3.10.1
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- apk add yamllint
|
|
||||||
- yamllint -f colored .
|
- yamllint -f colored .
|
||||||
|
|
||||||
chart-testing:
|
ct-lint:
|
||||||
image: quay.io/helmpack/chart-testing:v3.10.1
|
image: quay.io/helmpack/chart-testing:v3.10.1
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in a new issue