Add ESLint PR check action

a7a3badb8e395c1e499cdc99ec23a2e43df93506

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +22 -0Ignore whitespace
.github/workflows/pr-run-eslint.yml+22 -0
@@ -0,0 +1,22 @@
1name: ✅ Check ESLint on PR
2
3on: pull_request
4
5jobs:
6 eslint:
7 runs-on: ubuntu-latest
8 steps:
9 - uses: actions/checkout@v4
10 - uses: actions/setup-node@v4
11 with:
12 node-version: 20
13 - run: npm ci
14 - uses: sibiraj-s/action-eslint@v3
15 with:
16 token: ${{ secrets.GITHUB_TOKEN }}
17 eslint-args: '--ignore-path=.gitignore --quiet'
18 extensions: 'js,ts'
19 annotations: true
20 ignore-patterns: |
21 dist/
22 lib/