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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user