mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
ci(gitlabci): restore prepare stage to install dependencies
This commit is contained in:
parent
582f1bd85a
commit
0caa755d3e
@ -1,6 +1,7 @@
|
|||||||
image: code.podlibre.org:5050/podlibre/castopod-host:latest
|
image: code.podlibre.org:5050/podlibre/castopod-host:latest
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- prepare
|
||||||
- quality
|
- quality
|
||||||
- bundle
|
- bundle
|
||||||
- release
|
- release
|
||||||
@ -11,6 +12,14 @@ cache:
|
|||||||
- vendor/
|
- vendor/
|
||||||
- .npm/
|
- .npm/
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
stage: prepare
|
||||||
|
script:
|
||||||
|
# Install all php dependencies
|
||||||
|
- composer install --prefer-dist --no-ansi --no-interaction --no-progress --ignore-platform-reqs
|
||||||
|
# Install all npm dependencies
|
||||||
|
- npm ci --cache .npm --prefer-offline
|
||||||
|
|
||||||
lint-commit-msg:
|
lint-commit-msg:
|
||||||
stage: quality
|
stage: quality
|
||||||
script:
|
script:
|
||||||
@ -20,9 +29,6 @@ lint-commit-msg:
|
|||||||
|
|
||||||
lint-php:
|
lint-php:
|
||||||
stage: quality
|
stage: quality
|
||||||
before_script:
|
|
||||||
# Install all php dependencies
|
|
||||||
- composer install --prefer-dist --no-ansi --no-interaction --no-progress --ignore-platform-reqs
|
|
||||||
script:
|
script:
|
||||||
# check php code style
|
# check php code style
|
||||||
- vendor/bin/ecs check --ansi
|
- vendor/bin/ecs check --ansi
|
||||||
@ -33,9 +39,6 @@ lint-php:
|
|||||||
|
|
||||||
lint-js:
|
lint-js:
|
||||||
stage: quality
|
stage: quality
|
||||||
before_script:
|
|
||||||
# Install all npm dependencies
|
|
||||||
- npm ci --cache .npm --prefer-offline
|
|
||||||
script:
|
script:
|
||||||
- npm run prettier
|
- npm run prettier
|
||||||
- npm run typecheck
|
- npm run typecheck
|
||||||
|
Loading…
x
Reference in New Issue
Block a user