Skip to content

Commit

Permalink
Add Github Action to execute the ESLint linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikvl87 committed Sep 27, 2024
1 parent 1f606fe commit c4211a9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint

on:
workflow_dispatch:
push:
pull_request:

jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '22.6.0'
- name: Install dependencies
run: yarn install
- name: Run ESLint
run: yarn eslint . --ext .js,.jsx,.ts,.tsx

0 comments on commit c4211a9

Please sign in to comment.