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,21 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v4
14
+
15
+ - name : Install pnpm
16
+
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
27
29
28
30
test :
29
31
runs-on : ${{ matrix.os }}
@@ -36,19 +38,24 @@ jobs:
36
38
37
39
steps :
38
40
- uses : actions/checkout@v4
41
+
42
+ - name : Install pnpm
43
+
44
+
39
45
- name : Set node ${{ matrix.node }}
40
46
uses : actions/setup-node@v4
41
47
with :
42
48
node-version : ${{ matrix.node }}
49
+ cache : pnpm
43
50
44
- - name : Setup
45
- run : npm i -g @antfu/ni
46
-
47
- - name : Install
48
- run : nci
51
+ - name : Install dependencies
52
+ run : pnpm i
49
53
50
54
- name : Build
51
- run : nr build
55
+ run : pnpm run build
56
+
57
+ - name : Typecheck
58
+ run : pnpm run typecheck
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