Skip to content

Commit ce781e4

Browse files
committed
Add linting workflow
1 parent 5e37f86 commit ce781e4

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Linter
2+
on:
3+
pull_request:
4+
paths:
5+
- '**.js'
6+
- '!archive/**'
7+
8+
jobs:
9+
lint:
10+
name: Run ESLint
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
- run: npm install
16+
- run: npm run lint

0 commit comments

Comments
 (0)