From 4001f6911d8f40fddb5caf749b6351d4614e71ad Mon Sep 17 00:00:00 2001 From: Fred Heinecke Date: Mon, 6 Jan 2025 16:22:07 -0600 Subject: [PATCH] Fix yarn installation issues Signed-off-by: Fred Heinecke --- .github/workflows/doc-tests.yaml | 6 ++++-- e2e/config/run-tests.sh | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/doc-tests.yaml b/.github/workflows/doc-tests.yaml index 54df4b0743ef2..05b04428b9256 100644 --- a/.github/workflows/doc-tests.yaml +++ b/.github/workflows/doc-tests.yaml @@ -70,9 +70,11 @@ jobs: - name: Install docs site dependencies working-directory: docs if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }} - # Prevent occasional `yarn install` executions that run indefinitely timeout-minutes: 10 - run: yarn install + run: | + git config --global url."https://github".insteadOf ssh://git@github + git config --global url."https://github.com/".insteadOf git@github.com: + yarn install - name: Prepare docs site configuration working-directory: docs diff --git a/e2e/config/run-tests.sh b/e2e/config/run-tests.sh index 1a26d581e4d9b..eaff5b145fd27 100755 --- a/e2e/config/run-tests.sh +++ b/e2e/config/run-tests.sh @@ -23,6 +23,8 @@ set -e cp /etc/teleport/certs/rootCA.pem /usr/local/share/ca-certificates/teleport.crt update-ca-certificates +git config --global url."https://github".insteadOf ssh://git@github +git config --global url."https://github.com/".insteadOf git@github.com:s yarn install # Wait for the Teleport to be up and initialized.