Rename workflow to previous name to avoid github bug #3025
Workflow file for this run
This file contains 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: Lint | |
on: [push] | |
jobs: | |
phpcs-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.3' | |
- name: Install Composer Dependencies | |
run: composer install --no-progress --prefer-dist --optimize-autoloader | |
- name: PHP Lint | |
run: composer run lint | |
js-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4.0.0 | |
with: | |
node-version: '18.x' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run ESlint and Stylelint | |
run: npm run lint | |
- name: Run i18 Validation | |
run: npm run i18n:validate | |