feat: add command to copy files from vendor to theme (#133) #144
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PHPCS | |
| on: [pull_request] | |
| permissions: | |
| contents: read | |
| env: | |
| PHP_VERSION: "8.4" | |
| jobs: | |
| check-phpcs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ env.PHP_VERSION }} | |
| - name: Install Magento Coding Standard | |
| run: composer create-project magento/magento-coding-standard --stability=dev /tmp/magento-coding-standard | |
| - name: Run PHPCS | |
| run: /tmp/magento-coding-standard/vendor/bin/phpcs -p -s --standard=Magento2 src/ |