1
0
Fork 0

ci: add lint stage to lint next.js app and helm chart

This commit is contained in:
Vojtěch Mareš 2023-07-05 17:12:28 +02:00
parent a976fcdce0
commit e78c412637
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -2,10 +2,23 @@ default:
image: registry.mareshq.com/mareshq/ci-toolkit:latest
stages:
- lint
- build
- deploy:dry-run
- deploy
lint next.js:
stage: lint
image: node:18-alpine3.17
script:
- npm ci --frozen-lockfile
- npm run lint
lint helm:
stage: lint
script:
- helm lint ./charts/backoffice -f ./charts/backoffice/values.dummy.yaml --quiet
docker build:
stage: build
before_script: