👷 build(model-bank): align pnpm setup with packageManager (#13545)

Remove hardcoded pnpm versions in the model-bank release workflow so CI uses the repository packageManager setting and avoids pnpm version mismatch failures. Also align release commit identity with the lobehub bot account used by other release workflows.

Made-with: Cursor
This commit is contained in:
Innei 2026-04-03 21:13:43 +08:00 committed by GitHub
parent 5c17a0d652
commit 5cd4e390e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,8 +32,6 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.20.0
- name: Install dependencies
run: pnpm install
@ -61,8 +59,6 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.20.0
- name: Install dependencies
run: pnpm install
@ -86,8 +82,8 @@ jobs:
env:
MODEL_BANK_VERSION: ${{ steps.version.outputs.version }}
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "lobehubbot"
git config user.email "i@lobehub.com"
git add packages/model-bank/package.json
git commit -m "🔖 chore(model-bank): release v${MODEL_BANK_VERSION}"
git push