File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -34,19 +34,18 @@ jobs:
34
34
fetch-depth : 0 # 如果未启用 lastUpdated,则不需要
35
35
# - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释
36
36
# - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释
37
- - name : Setup Node
38
- uses : actions/setup-node@v4
39
- with :
40
- node-version : 20
41
- cache : npm # 或 pnpm / yarn
37
+ - name : setup bun
38
+ uses : oven-sh/setup-bun@v2
39
+
42
40
- name : Setup Pages
43
41
uses : actions/configure-pages@v4
42
+
44
43
- name : Install dependencies
45
- run : npm ci # 或 pnpm install / yarn install / bun install
44
+ run : bun install # 或 pnpm install / yarn install / bun install
46
45
working-directory : doc/website
47
46
48
47
- name : Build with VitePress
49
- run : npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
48
+ run : bun run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
50
49
working-directory : doc/website
51
50
52
51
- name : Upload artifact
You can’t perform that action at this time.
0 commit comments