Skip to content

Commit d0873e7

Browse files
committed
substitui pnpm por Bun no workflow de documentação
1 parent e84717b commit d0873e7

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,23 @@ jobs:
1717
# fetch all commits to get last updated time or other git log info
1818
fetch-depth: 0
1919

20-
- name: Setup pnpm
21-
uses: pnpm/action-setup@v4
20+
- name: Setup Bun
21+
uses: oven-sh/setup-bun@v1
2222
with:
23-
version: 9
23+
bun-version: latest
2424

2525
- name: Setup Node.js
2626
uses: actions/setup-node@v4
2727
with:
28-
# choose node.js version to use
2928
node-version: 22
30-
# cache deps for pnpm
31-
cache: pnpm
29+
cache: bun
3230

3331
- name: Install deps
34-
run: pnpm install --frozen-lockfile
32+
run: bun install
3533

3634
# run build script
3735
- name: Build VuePress site
38-
run: pnpm docs:build
36+
run: bun run docs:build
3937

4038
# please check out the docs of the workflow for more details
4139
# @see https://github.com/crazy-max/ghaction-github-pages

0 commit comments

Comments
 (0)