From 87251acc82a0117b4e03297d46188a8b66de00ea Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Wed, 6 Dec 2023 14:39:08 +0100 Subject: [PATCH] ci: add prettier check --- .woodpecker/e2e.yml | 2 +- .woodpecker/lint.yml | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.woodpecker/e2e.yml b/.woodpecker/e2e.yml index 43a38a8..60b193b 100644 --- a/.woodpecker/e2e.yml +++ b/.woodpecker/e2e.yml @@ -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: diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 7cfbbb8..fbd03a5 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -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: