mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 13:31:32 +08:00
ci(workflow): 将 npm 安装改为 yarn 全局安装依赖以简化命令
This commit is contained in:
parent
7f64268259
commit
9eca21fb6a
6
.github/workflows/auto-i18n.yml
vendored
6
.github/workflows/auto-i18n.yml
vendored
@ -29,11 +29,11 @@ jobs:
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: 📦 Install only required dependencies
|
||||
run: npm install --no-package-lock --no-save openai@^5.12.2 cli-progress@^3.12.0 tsx@^4.20.3
|
||||
- name: 📦 Install global dependencies
|
||||
run: yarn global add openai@^5.12.2 cli-progress@^3.12.0 tsx@^4.20.3
|
||||
|
||||
- name: 🏃♀️ Translate
|
||||
run: ./node_modules/.bin/tsx scripts/update-i18n.ts
|
||||
run: tsx scripts/update-i18n.ts
|
||||
|
||||
- name: 🔄 Commit changes
|
||||
run: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user