Skip to content

Commit

Permalink
ci: add lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Nov 1, 2024
1 parent 3f3f293 commit 6641f37
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ESLint Check

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'

- name: Install dependencies
run: yarn install

- name: Run ESLint
run: yarn lint

0 comments on commit 6641f37

Please sign in to comment.