fix:修复CI
This commit is contained in:
@@ -16,11 +16,12 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# 2. 设置 pnpm(runner 已预装 Node.js,跳过 setup-node)
|
||||
# 2. 设置 pnpm(使用 corepack,避免从 GitHub 拉取 action)
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10.23.0
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@10.23.0 --activate
|
||||
pnpm --version
|
||||
|
||||
- name: Parse tag to env
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user