File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -18,21 +18,20 @@ jobs:
18
18
runs-on : ubuntu-latest
19
19
20
20
steps :
21
- - name : Clone Code
22
- uses : actions/checkout@v4
21
+ - uses : actions/checkout@v4
22
+ - uses : pnpm/action-setup@v2
23
23
with :
24
- fetch-depth : 0
25
- - name : Setup Node.js
26
- uses : actions/setup-node@v4
24
+ version : 6.32.9
25
+ - uses : actions/setup-node@v4
27
26
with :
28
- node-version : ' 20 '
29
- - name : Cache dependencies
30
- uses : actions/cache@v4
31
- - name : Install dependencies
32
- run : npm install
27
+ node-version : ' 14 '
28
+ cache : ' pnpm '
29
+
30
+ - name : install
31
+ run : pnpm install
33
32
34
33
- name : Run Build Script
35
- run : npm run build
34
+ run : pnpm run build
36
35
37
36
- name : Deploy to GitHub Pages
38
37
# 此actions的官方文档 https://github.com/JamesIves/github-pages-deploy-action
You can’t perform that action at this time.
0 commit comments