Skip to content

Commit c413d32

Browse files
authored
add lint.yml
1 parent c03b367 commit c413d32

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Node.js (latest)
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: latest
19+
cache: npm
20+
21+
- name: Install dependencies
22+
run: npm install
23+
24+
- name: Run lint
25+
run: npm run lint

0 commit comments

Comments
 (0)