Skip to content

Commit

Permalink
move security checks earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylhein committed Jul 28, 2024
1 parent 0439393 commit e5d9b41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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

0 comments on commit e5d9b41

Please sign in to comment.