Skip to content

Commit e9d00ea

Browse files
authored
Build
1 parent 595fdcc commit e9d00ea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deploy.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ jobs:
2222
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
25-
- uses: pnpm/action-setup@v3
2625
- name: Setup Node
2726
uses: actions/setup-node@v4
2827
with:
2928
node-version: 20
30-
cache: pnpm
29+
cache: npm
3130
- name: Setup Pages
3231
uses: actions/configure-pages@v4
3332
- name: Install dependencies
34-
run: pnpm install
33+
run: npm install
3534
- name: Build with VitePress
36-
run: pnpm docs:build
35+
run: npm docs:build
3736
- name: Upload artifact
3837
uses: actions/upload-pages-artifact@v3
3938
with:

0 commit comments

Comments
 (0)