Add yarn check CI

This commit is contained in:
Michael Weimann 2022-11-27 16:39:15 +01:00
parent 9d9211c054
commit 1b83d0bb77
No known key found for this signature in database
GPG Key ID: 34F0524D4DA694A1
1 changed files with 7 additions and 3 deletions

View File

@ -34,12 +34,16 @@ check-php-style:
script:
- phpcs -p --no-colors --basepath="$PWD"
check-frontend-style:
# does everything that depends on packages installed by yarn
check-frontend:
image: node:alpine
stage: validate
needs:
- validate-yarn
before_script:
- yarn
- yarn --frozen-lockfile
script:
- yarn check
- yarn lint
check-editorconfig:
@ -97,7 +101,7 @@ build-image:
needs:
- check-editorconfig
- check-php-style
- check-frontend-style
- check-frontend
- generate-version
- validate-composer
- validate-yarn