Skip to content

Commit

Permalink
Add Lint GitHub workflow
Browse files Browse the repository at this point in the history
This will help us avoid committing errors.
  • Loading branch information
lencioni committed Jun 7, 2024
1 parent 73b24eb commit 4128cb3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint

on: [push]

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install dependencies
run: npm ci

- name: Run ESLint
run: npm run eslint

0 comments on commit 4128cb3

Please sign in to comment.