File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -10,24 +10,26 @@ jobs:
10
10
lint :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v4
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Install pnpm
17
+
14
18
15
19
- name : Set node
16
20
uses : actions/setup-node@v4
17
21
with :
18
22
node-version : lts/*
19
-
20
- - name : Setup
21
- run : npm i -g @antfu/ni
23
+ cache : pnpm
22
24
23
25
- name : Install
24
- run : nci
26
+ run : pnpm i
25
27
26
28
- name : Lint
27
- run : nr lint
29
+ run : pnpm lint
28
30
29
31
- name : Typecheck
30
- run : nr typecheck
32
+ run : pnpm typecheck
31
33
32
34
test :
33
35
runs-on : ${{ matrix.os }}
39
41
fail-fast : false
40
42
41
43
steps :
42
- - uses : actions/checkout@v4
44
+ - name : Checkout
45
+ uses : actions/checkout@v4
43
46
44
47
- name : Install pnpm
45
48
@@ -51,10 +54,12 @@ jobs:
51
54
cache : pnpm
52
55
53
56
- name : Install
54
- run : pnpm install
57
+ run : pnpm i
55
58
56
59
- name : Build
57
60
run : pnpm run build
58
61
59
62
- name : Test
60
63
run : pnpm run test
64
+ env :
65
+ NO_COLOR : ' true'
You can’t perform that action at this time.
0 commit comments