Skip to content

ESLint on commit/PR

ESLint on commit/PR #1

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20
- name: Install Node.js dependencies
run: npm install eslint
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true