Skip to content

Commit cb99700

Browse files
author
yinxiangzheng3
committed
docs: 优化docs构建命令
1 parent f94ef7d commit cb99700

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ jobs:
3737
uses: actions/setup-node@v4
3838
with:
3939
node-version: 20
40+
cache: 'npm'
41+
cache-dependency-path: website/package-lock.json
4042

4143
- name: Install dependencies
42-
run: npm install
44+
run: npm ci
4345

4446
- name: Build with VitePress
4547
run: npm run build

0 commit comments

Comments
 (0)