From 2bfb79d9992242a1f26ecf2c3a6647dbccd202e5 Mon Sep 17 00:00:00 2001 From: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com> Date: Thu, 5 Feb 2026 16:36:21 +0530 Subject: [PATCH] fix: translation github action (#7207) --- .github/workflows/translation-check.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/translation-check.yml b/.github/workflows/translation-check.yml index c901eb5832..30e90872ec 100644 --- a/.github/workflows/translation-check.yml +++ b/.github/workflows/translation-check.yml @@ -32,21 +32,20 @@ jobs: with: egress-policy: audit - - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - - name: Setup Node.js - uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - node-version: 18 + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Setup pnpm - uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0 + - name: Setup Node.js 22.x + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: - version: 9.15.9 + node-version: 22.x + + - name: Install pnpm + uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 - name: Install dependencies - run: pnpm install --frozen-lockfile + run: pnpm install --config.platform=linux --config.architecture=x64 - name: Validate translation keys run: |