Skip to content

Commit f871c13

Browse files
committed
init
1 parent 26e2f11 commit f871c13

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/lint-check.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI Linting
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
linting:
8+
name: Run Linting
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Enable Corepack
15+
run: corepack enable
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
cache: pnpm
22+
23+
- name: Install dependencies
24+
run: pnpm install
25+
26+
- name: Lint JavaScript
27+
run: pnpm run lint:js
28+
29+
- name: Check formatting
30+
run: pnpm run lint:format
31+
32+
- name: Type checking
33+
run: pnpm run lint:types

0 commit comments

Comments
 (0)