Skip to content

Commit

Permalink
use pnpm to build
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidingPlus committed Feb 6, 2025
1 parent df25be2 commit b570295
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# feature-liuzx-homepage 分支推送部署预览

name: Build and Deploy

on:
Expand Down Expand Up @@ -34,11 +32,13 @@ jobs:
# 安装项目依赖
- name: Install Dependencies
run: npm install
run: |
npm install -g pnpm
pnpm install
# 构建程序
- name: Build Website
run: npm run build
run: pnpm run build
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

Expand Down

0 comments on commit b570295

Please sign in to comment.