Skip to content

Merge pull request #332 from 10up/add/wp-php-badges #556

Merge pull request #332 from 10up/add/wp-php-badges

Merge pull request #332 from 10up/add/wp-php-badges #556

Workflow file for this run

name: ESLint
on:
push:
branches:
- develop
- trunk
pull_request:
branches:
- develop
jobs:
eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: install node v16
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm install
- name: Run JS linting
run: npm run lint:js