mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 15:49:29 +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:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
|
|
||||||
- name: 📦 Install only required dependencies
|
- name: 📦 Install global dependencies
|
||||||
run: npm install --no-package-lock --no-save openai@^5.12.2 cli-progress@^3.12.0 tsx@^4.20.3
|
run: yarn global add openai@^5.12.2 cli-progress@^3.12.0 tsx@^4.20.3
|
||||||
|
|
||||||
- name: 🏃♀️ Translate
|
- name: 🏃♀️ Translate
|
||||||
run: ./node_modules/.bin/tsx scripts/update-i18n.ts
|
run: tsx scripts/update-i18n.ts
|
||||||
|
|
||||||
- name: 🔄 Commit changes
|
- name: 🔄 Commit changes
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user