Commit 1772ddf 1 parent 09ab6a8 commit 1772ddf Copy full SHA for 1772ddf
File tree 3 files changed +34
-2
lines changed
3 files changed +34
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Code check
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ lint :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - uses : pnpm/action-setup@v2
11
+ with :
12
+ version : 8
13
+ - uses : actions/setup-node@v4
14
+ with :
15
+ node-version : 20
16
+ cache : pnpm
17
+ - run : pnpm install
18
+ - name : Lint
19
+ run : pnpm run lint
20
+ typecheck :
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - uses : actions/checkout@v4
24
+ - uses : pnpm/action-setup@v2
25
+ with :
26
+ version : 8
27
+ - uses : actions/setup-node@v4
28
+ with :
29
+ node-version : 20
30
+ cache : pnpm
31
+ - run : pnpm install
32
+ - name : Typecheck
33
+ run : pnpm run typecheck
Original file line number Diff line number Diff line change 18
18
node-version : ${{ matrix.node-version }}
19
19
cache : pnpm
20
20
- run : pnpm install
21
- - name : Typecheck
22
- run : pnpm typecheck
23
21
- name : Test
24
22
run : pnpm test
Original file line number Diff line number Diff line change 21
21
"build" : " rimraf dist && tsc -p tsconfig.build.json && babel dist/esm -d dist/cjs --out-file-extension .cjs" ,
22
22
"test" : " vitest" ,
23
23
"typecheck" : " tsc" ,
24
+ "lint" : " eslint . && prettier . --check" ,
24
25
"repl" : " vite-node script/repl.ts"
25
26
},
26
27
"homepage" : " https://github.com/fabon-f/vremel#readme" ,
You can’t perform that action at this time.
0 commit comments