From 38d3a45258395ec6ecdbec3323a2e90d970d9f77 Mon Sep 17 00:00:00 2001 From: yyh Date: Wed, 7 Jan 2026 17:23:28 +0800 Subject: [PATCH] fix(i18n): add pnpm and Node.js setup steps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pnpm is not pre-installed on GitHub ubuntu runners. Add pnpm/action-setup and setup-node before Claude Code action. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/translate-i18n-claude.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/translate-i18n-claude.yml b/.github/workflows/translate-i18n-claude.yml index bd91727fcd..0275c3b4ca 100644 --- a/.github/workflows/translate-i18n-claude.yml +++ b/.github/workflows/translate-i18n-claude.yml @@ -46,6 +46,19 @@ jobs: git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + package_json_file: web/package.json + run_install: false + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 'lts/*' + cache: pnpm + cache-dependency-path: ./web/pnpm-lock.yaml + - name: Detect changed files and generate diff id: detect_changes run: |