Skip to content

Commit

Permalink
fix security checks & move earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylhein committed Jul 28, 2024
1 parent e5d9b41 commit 3b59706
Showing 1 changed file with 18 additions and 22 deletions.
40 changes: 18 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ jobs:
with:
node-version: '18'

- name: Run PHP security checks
uses: symfonycorp/security-checker-action@v5

- name: Run JS security checks
run: yarn audit:high

- name: Install Composer dependencies
run: composer install --no-interaction --no-progress --ignore-platform-reqs

- name: Install Node.js dependencies
run: yarn install --immutable

- name: Run PHP security checks
uses: symfonycorp/security-checker-action@v5

- name: Run JS security checks
run: yarn audit:high

- name: Cache warmup for PHPStan
run: php bin/console cache:warmup --env=dev

Expand Down Expand Up @@ -89,16 +89,14 @@ jobs:
with:
node-version: '18'

- name: Install Composer dependencies
run: composer install --classmap-authoritative --no-interaction --no-progress --ignore-platform-reqs
- name: Run PHP security checks
uses: symfonycorp/security-checker-action@v5

- name: Install Node.js dependencies
run: yarn install --immutable
- name: Run JS security checks
run: yarn audit:high

- name: Run security checks
run: |
symfony security:check
yarn audit:high
- name: Install Composer dependencies
run: composer install --classmap-authoritative --no-interaction --no-progress --ignore-platform-reqs

- name: Build assets
run: yarn build --mode development
Expand Down Expand Up @@ -129,16 +127,14 @@ jobs:
with:
node-version: '18'

- name: Install Composer dependencies
run: composer install --no-dev --classmap-authoritative --no-interaction --no-progress --ignore-platform-reqs
- name: Run PHP security checks
uses: symfonycorp/security-checker-action@v5

- name: Install Node.js dependencies
run: yarn install --immutable
- name: Run JS security checks
run: yarn audit:high

- name: Run security checks
run: |
symfony security:check
yarn audit:high
- name: Install Composer dependencies
run: composer install --no-dev --classmap-authoritative --no-interaction --no-progress --ignore-platform-reqs

- name: Build assets
run: yarn build
Expand Down

0 comments on commit 3b59706

Please sign in to comment.