Add yarn check CI
This commit is contained in:
parent
9d9211c054
commit
1b83d0bb77
|
@ -34,12 +34,16 @@ check-php-style:
|
||||||
script:
|
script:
|
||||||
- phpcs -p --no-colors --basepath="$PWD"
|
- phpcs -p --no-colors --basepath="$PWD"
|
||||||
|
|
||||||
check-frontend-style:
|
# does everything that depends on packages installed by yarn
|
||||||
|
check-frontend:
|
||||||
image: node:alpine
|
image: node:alpine
|
||||||
stage: validate
|
stage: validate
|
||||||
|
needs:
|
||||||
|
- validate-yarn
|
||||||
before_script:
|
before_script:
|
||||||
- yarn
|
- yarn --frozen-lockfile
|
||||||
script:
|
script:
|
||||||
|
- yarn check
|
||||||
- yarn lint
|
- yarn lint
|
||||||
|
|
||||||
check-editorconfig:
|
check-editorconfig:
|
||||||
|
@ -97,7 +101,7 @@ build-image:
|
||||||
needs:
|
needs:
|
||||||
- check-editorconfig
|
- check-editorconfig
|
||||||
- check-php-style
|
- check-php-style
|
||||||
- check-frontend-style
|
- check-frontend
|
||||||
- generate-version
|
- generate-version
|
||||||
- validate-composer
|
- validate-composer
|
||||||
- validate-yarn
|
- validate-yarn
|
||||||
|
|
Loading…
Reference in New Issue