Skip to content

Commit 2aff2b8

Browse files
committed
Add "lint" github workflow
1 parent f377ee0 commit 2aff2b8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This workflow will run a lint check
2+
name: Run ESLint
3+
4+
on:
5+
pull_request:
6+
branches: [ develop ]
7+
8+
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: 16
16+
cache: 'npm'
17+
- name: Install dependencies
18+
run: npm ci
19+
- name: Run ESLint
20+
run: npm run lint

0 commit comments

Comments
 (0)