From e5d9b4150326ab2dea41734e089ebe077749b76d Mon Sep 17 00:00:00 2001 From: Darryl Hein Date: Sat, 27 Jul 2024 23:34:46 -0600 Subject: [PATCH] move security checks earlier --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a1444ed25..f20896e60 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -98,11 +98,11 @@ static: APP_ENV: test script: - *versions-script + - *security-checks # install php dependencies - php composer.phar install --no-interaction --no-progress --ignore-platform-reqs # Install node/JS dependencies - yarn install --immutable - - *security-checks # cache warmup for phpstan - php bin/console cache:warmup --env=dev - php bin/phpstan analyse --no-progress --memory-limit 1G src @@ -132,10 +132,10 @@ deploy to staging: when: manual script: - *deploy-setup-script + - *security-checks # install dependencies - php composer.phar install --classmap-authoritative --no-interaction --no-progress --ignore-platform-reqs - yarn install --immutable - - *security-checks - yarn build --mode development - *deploy-script @@ -151,9 +151,9 @@ deploy to prod: when: manual script: - *deploy-setup-script + - *security-checks # install dependencies (not php dev dependencies) - php composer.phar install --no-dev --classmap-authoritative --no-interaction --no-progress --ignore-platform-reqs - yarn install --immutable - - *security-checks - yarn build - *deploy-script