File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,17 +107,17 @@ jobs:
107107 working-directory : ${{ env.PLUGIN_DIR }}
108108 run : composer update
109109
110- # Installs WordPress scripts for CSS Coding Standards.
111- - name : Run npm install
112- working-directory : ${{ env.PLUGIN_DIR }}
113- run : npm install @wordpress/scripts --save-dev
114-
115110 - name : Build PHP Autoloader
116111 working-directory : ${{ env.PLUGIN_DIR }}
117112 run : composer dump-autoload
118113
114+ # Installs WordPress scripts for CSS Coding Standards.
115+ - name : Run npm install
116+ working-directory : ${{ env.PLUGIN_DIR }}
117+ run : npm install
118+
119119 # Run Coding Standards on Tests.
120- - name : Run Coding Standards on Tests
120+ - name : Run PHP Coding Standards on Tests
121121 working-directory : ${{ env.PLUGIN_DIR }}
122122 if : ${{ matrix.php-versions == '8.1' || matrix.php-versions == '8.2' || matrix.php-versions == '8.3' || matrix.php-versions == '8.4' }}
123123 run : php vendor/bin/phpcs -q --standard=phpcs.tests.xml --report=checkstyle ./tests | cs2pr
You can’t perform that action at this time.
0 commit comments