File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -34,21 +34,19 @@ jobs:
34
34
fetch-depth : 0 # Not needed if lastUpdated is not enabled
35
35
# - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
36
36
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
37
- - name : Setup Node
38
- uses : actions/setup-node@v4
37
+ - uses : oven-sh/setup-bun@v2
39
38
with :
40
- node-version : 20
41
- cache : npm # or pnpm / yarn
39
+ bun-version : latest
42
40
- name : Setup Pages
43
41
uses : actions/configure-pages@v4
44
42
- name : Install dependencies
45
- run : npm ci # or pnpm install / yarn install / bun install
43
+ run : bun i # or pnpm install / yarn install / bun install
46
44
- name : Build with VitePress
47
- run : npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
45
+ run : bun run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
48
46
- name : Upload artifact
49
47
uses : actions/upload-pages-artifact@v3
50
48
with :
51
- path : docs/ .vitepress/dist
49
+ path : .vitepress/dist
52
50
53
51
# Deployment job
54
52
deploy :
You can’t perform that action at this time.
0 commit comments