mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
ci(workflow): 优化自动翻译工作流的依赖安装步骤
修改依赖安装命令,使用更精确的参数避免不必要的锁定文件生成,并确保安装开发依赖
This commit is contained in:
parent
5b92e64ce4
commit
fc1aa48375
6
.github/workflows/auto-i18n.yml
vendored
6
.github/workflows/auto-i18n.yml
vendored
@ -32,8 +32,10 @@ jobs:
|
||||
- name: 📦 Enable Yarn Corepack
|
||||
run: corepack enable
|
||||
|
||||
- name: 📦 Dependencies
|
||||
run: yarn add openai cli-progress tsx
|
||||
- name: 📦 Install only required dependencies
|
||||
run: |
|
||||
yarn config set nodeLinker node-modules
|
||||
yarn add --production=false --no-lockfile openai cli-progress tsx
|
||||
|
||||
- name: 🏃♀️ Translate
|
||||
run: tsx scripts/update-i18n.ts
|
||||
|
||||
Loading…
Reference in New Issue
Block a user