Skip to content

Feature/php optimization #976

Feature/php optimization

Feature/php optimization #976

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'