Skip to content

Commit dea7bdc

Browse files
tomsun28yuluo-yx
andauthored
fix: fix home doc deploy action (#4029)
Co-authored-by: shown <yuluo08290126@gmail.com>
1 parent c165be6 commit dea7bdc

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/doc-deploy.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,21 @@ jobs:
4949
with:
5050
node-version: '20'
5151

52+
# Setup pnpm
53+
- name: Setup pnpm
54+
uses: pnpm/action-setup@v4
55+
with:
56+
version: latest
57+
5258
# Install dependencies in home directory
5359
- name: Install Dependencies
5460
working-directory: home
55-
run: npm ci
61+
run: pnpm install --frozen-lockfile
5662

5763
# Build the documentation site
5864
- name: Build Documentation
5965
working-directory: home
60-
run: npm run build
66+
run: pnpm run build
6167
env:
6268
NODE_OPTIONS: --max-old-space-size=4096
6369

0 commit comments

Comments
 (0)