Skip to content

Feature: PHP 8.2 support #973

Feature: PHP 8.2 support

Feature: PHP 8.2 support #973

Workflow file for this run

name: 'ESLint'
on:
push:
branches:
- main
pull_request:
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --prefer-offline
- uses: reviewdog/action-eslint@v1
with:
fail_on_error: true
github_token: ${{ secrets.GITHUB_TOKEN }}
eslint_flags: 'wp-content/{*themes,plugins*}/core/**/*.js'