fix: remove invalid Yarn config command
fix: remove invalid Yarn config command
This commit is contained in:
@@ -49,10 +49,9 @@ jobs:
|
|||||||
# Configure authentication (last so it doesn't interfere with SSH -> HTTPS conversion)
|
# Configure authentication (last so it doesn't interfere with SSH -> HTTPS conversion)
|
||||||
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
|
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
|
||||||
|
|
||||||
# Also configure for Yarn/NPM to prevent SSH fallback
|
# Verify git config applied correctly
|
||||||
echo "Configuring Yarn to prefer HTTPS..."
|
echo "✅ Git URL rewrites configured for HTTPS"
|
||||||
yarn config set --home enableImmutableInstalls false
|
git config --global --get-regexp url
|
||||||
yarn config set --home preferAggregateCacheInfo true
|
|
||||||
|
|
||||||
- name: Restore Yarn Cache
|
- name: Restore Yarn Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user