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