Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
huangmingfu committed Oct 25, 2024
1 parent f3272cb commit 55b0f27
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,15 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '16' # 确保 Node.js 版本与你的项目兼容
cache: 'pnpm'

# 安装 pnpm
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 8 # 安装 pnpm 的版本
cache: 'npm'

# 安装依赖
- name: Install dependencies
run: pnpm install
run: npm install

# 构建 VitePress 项目
- name: Build VitePress site
run: pnpm run build
run: npm run build

# 配置 GitHub Pages
- name: Setup Pages
Expand Down

0 comments on commit 55b0f27

Please sign in to comment.