From cf268a3c88e0f301a7dc6ff3eaf822c7d6bf4029 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 14 Feb 2026 05:10:00 +0000 Subject: [PATCH] debug: add verbose logging to workflows to diagnose yarn install failure Added debug output to see: - Git URL rewrites configuration - Environment variables - Verbose yarn install output This will help identify why yarn install is failing after the GITHUB_TOKEN fix. https://claude.ai/code/session_015R3U3kiprQiNTTNNt31Sg6 --- .github/workflows/build.yml | 9 ++++++++- .github/workflows/lint.yml | 9 ++++++++- .github/workflows/test.yml | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5156277..22486592 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,11 +44,18 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- + - name: Debug Git Config + run: | + echo "=== Git URL Rewrites ===" + git config --global --get-regexp url + echo "=== Environment ===" + env | grep -i git || true + - name: Install dependencies env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GIT_TERMINAL_PROMPT: 0 - run: yarn install --immutable + run: yarn install --immutable --verbose - name: Build project run: yarn build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 43551035..d69c4dde 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -44,11 +44,18 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- + - name: Debug Git Config + run: | + echo "=== Git URL Rewrites ===" + git config --global --get-regexp url + echo "=== Environment ===" + env | grep -i git || true + - name: Install packages env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GIT_TERMINAL_PROMPT: 0 - run: yarn install --immutable + run: yarn install --immutable --verbose - name: Check linting run: yarn lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e19e434f..50145574 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,11 +45,18 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- + - name: Debug Git Config + run: | + echo "=== Git URL Rewrites ===" + git config --global --get-regexp url + echo "=== Environment ===" + env | grep -i git || true + - name: Install dependencies env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GIT_TERMINAL_PROMPT: 0 - run: yarn install --immutable + run: yarn install --immutable --verbose - name: Run tests run: yarn test \ No newline at end of file