Skip to content

Commit bd639d3

Browse files
committed
ci: add linting action
1 parent 7ae5c75 commit bd639d3

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
on:
2-
[pull_request]
3-
41
name: Check
52

3+
on:
4+
pull_request:
5+
66
jobs:
77
check:
88
name: Run Unit Tests

.github/workflows/lint.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Lint
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
lint:
8+
name: Run Linter
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v5
13+
- name: Run eslint
14+
run: |
15+
npm ci
16+
npm run lint

0 commit comments

Comments
 (0)