fix: combine composer global require calls in deploy workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Terence Ong
2026-04-13 09:09:42 +07:00
parent e6cdf576f4
commit ff8d8d4166

View File

@@ -30,8 +30,7 @@ jobs:
- name: Install WordPress Coding Standards
run: |
composer global require "wp-coding-standards/wpcs:^3.0" --no-interaction
composer global require "phpcsstandards/phpcsutils:^1.0" --no-interaction
composer global require "wp-coding-standards/wpcs:^3.0" "phpcsstandards/phpcsutils:^1.0" --no-interaction
phpcs --config-set installed_paths "$(composer global config home)/vendor/wp-coding-standards/wpcs"
- name: Run PHPCS (WordPress standards)