Skip to content

Commit a852624

Browse files
Create eslint-check.yml
1 parent 3c740d3 commit a852624

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/eslint-check.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ESLint Check
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
lint:
8+
name: Run ESLint
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 20
19+
20+
- name: Install Dependacnies
21+
run: npm install
22+
23+
- name: Run ESLint quietly
24+
run: npx eslint . --quiet

0 commit comments

Comments
 (0)