Skip to content

Commit 0f4b538

Browse files
committed
feat: add github action workflows for prettier and linting
1 parent 4548490 commit 0f4b538

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint and Prettier
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: '22'
20+
21+
- run: npm ci
22+
- run: npx eslint .
23+
- run: npx prettier --check .

0 commit comments

Comments
 (0)