ldc-shared-ci/build/composer.yml
Administrator e81737ba82 Update 8 files
- /security/npm.yml
- /security/composer.yml
- /security/security.yml
- /test/test.yml
- /build/composer.yml
- /build/npm.yml
- /build/docker.yml
- /build/build.yml
2023-02-17 12:19:49 +00:00

20 lines
No EOL
605 B
YAML

composer-build:
stage: build
image: $CI_REGISTRY/ldc-web/projets/ldc-web-images-docker/ldcweb-qa:php8.1-1.0
before_script:
- composer config gitlab-token.lab.s-web.fr $CI_DEPLOY_USER $CI_DEPLOY_PASSWORD
cache:
paths:
- vendor/
script:
- composer install --no-dev --optimize-autoloader --classmap-authoritative
artifacts:
expose_as: 'vendor'
paths:
- vendor
allow_failure: false
needs:
- phpcs
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH == "develop"