Add yarn check CI
This commit is contained in:
parent
9d9211c054
commit
1b83d0bb77
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue