File tree 3 files changed +17
-10
lines changed
3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 17
17
- name : Checkout
18
18
uses : actions/checkout@v4
19
19
20
- - name : Enable Corepack
21
- run : corepack enable
20
+ - name : Install pnpm
21
+
22
22
23
23
- name : Setup node
24
24
uses : actions/setup-node@v4
43
43
- name : Checkout
44
44
uses : actions/checkout@v4
45
45
46
- - name : Enable Corepack
47
- run : corepack enable
46
+ - name : Install pnpm
47
+
48
48
49
49
- name : Set node version to ${{ matrix.node }}
50
50
uses : actions/setup-node@v4
Original file line number Diff line number Diff line change @@ -14,19 +14,23 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- uses : actions/checkout@v4
17
+
18
+ - name : Install pnpm
19
+
20
+
17
21
- name : Set node
18
22
uses : actions/setup-node@v4
19
23
with :
20
24
node-version : lts/*
21
- - run : corepack enable
22
- - run : npm i -g @antfu/ni
23
- - run : nci
25
+ cache : pnpm
26
+
27
+ - run : pnpm i
24
28
25
29
- name : Build unplugin
26
- run : nr build
30
+ run : pnpm run build
27
31
28
32
- name : Build docs
29
- run : nr docs:build
33
+ run : pnpm run docs:build
30
34
env :
31
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
36
Original file line number Diff line number Diff line change 7
7
8
8
steps :
9
9
- uses : actions/checkout@v4
10
- - run : corepack enable
10
+
11
+ - name : Install pnpm
12
+
13
+
11
14
- uses : actions/setup-node@v4
12
15
with :
13
16
node-version : lts/*
You can’t perform that action at this time.
0 commit comments