Skip to content

Commit 93b005b

Browse files
authored
Update docs.yml
1 parent 96f68f4 commit 93b005b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ jobs:
4040
uses: actions/setup-node@v4
4141
with:
4242
node-version: 20
43-
cache: npm # 或 pnpm / yarn
43+
cache: pnpm # 或 pnpm / yarn
4444
- name: Setup Pages
4545
uses: actions/configure-pages@v4
4646
- name: Install dependencies
47-
run: npm ci # 或 pnpm install / yarn install / bun install
47+
run: pnpm install # 或 pnpm install / yarn install / bun install
4848
- name: Build with VitePress
49-
run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
49+
run: pnpm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
5050
- name: Upload artifact
5151
uses: actions/upload-pages-artifact@v3
5252
with:

0 commit comments

Comments
 (0)