Skip to content

Commit e2259ec

Browse files
committed
修复 CI pnpm 安装问题并补全前端检查
1 parent 60b83d6 commit e2259ec

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,18 @@ jobs:
5151
- name: Checkout
5252
uses: actions/checkout@v4
5353

54+
- name: Setup pnpm
55+
uses: pnpm/action-setup@v4
56+
with:
57+
version: 9
58+
5459
- name: Setup Node.js
5560
uses: actions/setup-node@v4
5661
with:
5762
node-version: "20"
5863
cache: "pnpm"
5964
cache-dependency-path: frontend/pnpm-lock.yaml
6065

61-
- name: Setup pnpm
62-
uses: pnpm/action-setup@v4
63-
6466
- name: Install frontend dependencies
6567
run: pnpm --prefix frontend install --frozen-lockfile
6668

0 commit comments

Comments
 (0)