Trigger node def locale update manually (#2170)

This commit is contained in:
Chenlei Hu
2025-01-06 10:54:59 -05:00
committed by GitHub
parent ba31f8fa68
commit e82d795ff9
5 changed files with 177 additions and 111 deletions

View File

@@ -17,13 +17,12 @@ jobs:
run: npm run dev:electron &
working-directory: ComfyUI_frontend
- name: Update en.json
run: npm run collect-i18n
run: npm run collect-i18n -- scripts/collect-i18n-general.ts
env:
PLAYWRIGHT_TEST_URL: http://localhost:5173
working-directory: ComfyUI_frontend
- name: Update translations
# Pipe output so that it doesn't error out on stdout.clearLine
run: npm run locale 2>&1 | cat
run: npm run locale
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
working-directory: ComfyUI_frontend