Bump eslint-plugin-n from 16.6.2 to 17.15.0 #2046
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: CI | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
permissions: | |
contents: read | |
jobs: | |
Lint_Css: | |
name: Lint (CSS) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: '8.1' | |
tools: composer | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- name: Install | |
run: npm ci | |
- name: Lint | |
run: npx stylelint "_styles/**/*.css" -f github | |
Lint_Javascript: | |
name: Lint (JS) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.1 | |
tools: composer | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- name: Install | |
run: npm ci | |
- name: Lint | |
run: ./_tests/javascript.sh | |
Lint_Php: | |
name: Lint (PHP) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.1 | |
tools: composer | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- name: Install | |
run: npm ci | |
- name: Lint | |
run: ./_tests/php.sh | |
Lint_Translations: | |
name: Lint (Translations) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.1 | |
tools: composer | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- name: Install | |
run: npm ci | |
- name: Lint | |
run: php ./_tests/translations.php | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.1 | |
tools: composer | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build |