Skip to content

Commit 4754722

Browse files
committed
🐞 fix(Github文件夹): 修改了错误的配置
1 parent a32773f commit 4754722

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ jobs:
4040
uses: actions/setup-node@v4
4141
with:
4242
node-version: 22
43+
cache: npm # 或 pnpm / yarn
4344
- name: Setup Pages
4445
uses: actions/configure-pages@v4
4546
- name: Install dependencies
46-
run: npm install # 或 pnpm install / yarn install / bun install
47+
run: npm ci # 或 pnpm install / yarn install / bun install
4748
- name: Build with VitePress
4849
run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
4950
- name: Upload artifact

0 commit comments

Comments
 (0)