fix: fix home doc deploy action (#4029)

Co-authored-by: shown <yuluo08290126@gmail.com>
This commit is contained in:
Tomsun28
2026-03-01 19:37:09 +08:00
committed by GitHub
co-authored by shown
parent c165be6c2a
commit dea7bdc7fe
+8 -2
View File
@@ -49,15 +49,21 @@ jobs:
with:
node-version: '20'
# Setup pnpm
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
# Install dependencies in home directory
- name: Install Dependencies
working-directory: home
run: npm ci
run: pnpm install --frozen-lockfile
# Build the documentation site
- name: Build Documentation
working-directory: home
run: npm run build
run: pnpm run build
env:
NODE_OPTIONS: --max-old-space-size=4096