Skip to content

Commit 3bc9ce8

Browse files
committed
main 🧊 add workspaces for action
1 parent 75435a4 commit 3bc9ce8

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

‎.github/workflows/deploy.yaml

+12-6
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,27 @@ jobs:
2323
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
26+
27+
- name: Install pnpm
28+
uses: pnpm/action-setup@v4
29+
with:
30+
version: 10
31+
2632
- name: Setup Node
2733
uses: actions/setup-node@v4
2834
with:
2935
node-version: 20
30-
cache: pnpm
31-
- name: Setup pnpm
32-
uses: pnpm/action-setup@v2
33-
with:
34-
version: 8
36+
cache: "pnpm"
37+
3538
- name: Setup Pages
3639
uses: actions/configure-pages@v4
40+
3741
- name: Install dependencies
38-
run: pnpm i
42+
run: pnpm install
43+
3944
- name: Build with vitepress
4045
run: pnpm run docs:build
46+
4147
- name: Upload artifact
4248
uses: actions/upload-pages-artifact@v3
4349
with:

0 commit comments

Comments
 (0)