Delete plugin-update-checker-ca.po #203
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: Code Quality & Linting | |
| on: | |
| push: | |
| branches: [ main, dev ] | |
| pull_request: | |
| branches: [ main, dev ] | |
| jobs: | |
| lint: | |
| name: Lint PHP, JS, and CSS | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.3' | |
| tools: composer, phpcs | |
| coverage: none | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install Dependencies | |
| run: | | |
| # Use update because composer.lock is not available | |
| composer update --no-progress --prefer-dist --no-interaction | |
| npm install --legacy-peer-deps | |
| - name: PHP Coding Standards (WPCS) | |
| run: vendor/bin/phpcs | |
| - name: CSS & theme.json Linting | |
| run: npm run lint:css --if-present | |
| - name: JS Linting | |
| run: npm run lint:js --if-present |