We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1502208 commit 670eb02Copy full SHA for 670eb02
.github/workflows/lint.yaml
@@ -0,0 +1,37 @@
1
+name: Lint and Format Check
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ workflow_dispatch:
8
9
+jobs:
10
+ lint:
11
+ name: Run Linters
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
18
+ - uses: pnpm/action-setup@v4
19
+ name: Install pnpm
20
+ with:
21
+ version: 10
22
+ run_install: false
23
24
+ - name: Install Node.js
25
+ uses: actions/setup-node@v4
26
27
+ node-version: 20
28
+ cache: 'pnpm'
29
30
+ - name: Install dependencies
31
+ run: pnpm install --frozen-lockfile
32
33
+ - name: Run Next.js lint check
34
+ run: pnpm lint
35
36
+ - name: Run dprint format check
37
+ run: pnpm format:check
0 commit comments