Skip to content

Commit 2cc6518

Browse files
committed
Add workflow to run ESLint
1 parent 1129b84 commit 2cc6518

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/lint.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Lint
2+
on:
3+
push:
4+
branches: [master]
5+
pull_request:
6+
types: [opened, synchronize]
7+
jobs:
8+
lint:
9+
name: Run ESLint
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v1
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: '12.x'
16+
- run: npm install
17+
- run: npm run lint

0 commit comments

Comments
 (0)