Skip to content

Commit 389f4d8

Browse files
committed
ci: run ESLint
This adds a rudimentary check to verify that ESLint is happy with the source code. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 7a95e6c commit 389f4d8

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/pr.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: PR check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: install ESLint
10+
run: npm install -g eslint
11+
- uses: actions/checkout@v3
12+
- name: run ESLint
13+
run: eslint -c .eslintrc.json '**/*.js'

0 commit comments

Comments
 (0)