File tree 4 files changed +2084
-2823
lines changed 4 files changed +2084
-2823
lines changed Original file line number Diff line number Diff line change @@ -17,28 +17,36 @@ permissions:
17
17
18
18
jobs :
19
19
build :
20
- runs-on : ubuntu-latest
20
+ runs-on : ubuntu-22.04
21
+ strategy :
22
+ matrix :
23
+ node-version : [20]
21
24
steps :
22
25
- name : Checkout
23
26
uses : actions/checkout@v4
24
27
with :
25
28
fetch-depth :
26
-
27
- - name : Setup Node
29
+
30
+ - name : Install pnpm
31
+ uses : pnpm/action-setup@v4
32
+ with :
33
+ version : 10
34
+
35
+ - name : Setup Node ${{ matrix.node-version }}
28
36
uses : actions/setup-node@v4
29
37
with :
30
- node-version : 20
31
- cache : npm
32
-
38
+ node-version : ${{ matrix.node-version }}
39
+ cache : ' pnpm '
40
+
33
41
- name : Setup Pages
34
42
uses : actions/configure-pages@v4
35
-
43
+
36
44
- name : Install dependencies
37
- run : npm ci
38
-
45
+ run : pnpm install
46
+
39
47
- name : Build with VitePress
40
- run : npm run docs:build
41
-
48
+ run : pnpm run docs:build
49
+
42
50
- name : Upload artifact
43
51
uses : actions/upload-pages-artifact@v3
44
52
with :
53
61
steps :
54
62
- name : Deploy to GitHub Pages
55
63
id : deployment
56
- uses : actions/deploy-pages@v4
64
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments