From 9eca21fb6af65174fe3ae26a976aad1df4f5cc14 Mon Sep 17 00:00:00 2001 From: icarus Date: Thu, 4 Sep 2025 18:51:35 +0800 Subject: [PATCH] =?UTF-8?q?ci(workflow):=20=E5=B0=86=20npm=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E6=94=B9=E4=B8=BA=20yarn=20=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E4=BE=9D=E8=B5=96=E4=BB=A5=E7=AE=80=E5=8C=96?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-i18n.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-i18n.yml b/.github/workflows/auto-i18n.yml index 336cd97758..b44fb1150b 100644 --- a/.github/workflows/auto-i18n.yml +++ b/.github/workflows/auto-i18n.yml @@ -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: |