diff --git a/.github/actions/front/deploy/action.yml b/.github/actions/front/deploy/action.yml index c5f09987..776f0fa2 100644 --- a/.github/actions/front/deploy/action.yml +++ b/.github/actions/front/deploy/action.yml @@ -7,6 +7,15 @@ inputs: runs: using: "composite" steps: + # Use HTTPS instead of SSH to install dependencies from GitHub repos + # See: https://github.com/actions/setup-node/issues/214#issuecomment-810829250 + # this could be removed once git-rev-sync is pointed back at the upstream repo + - name: Reconfigure git to use HTTP authentication + shell: bash + run: > + git config --global url."https://github.com/".insteadOf + ssh://git@github.com/ + # this could be removed once setup-node adds support for .nvmrc files # ref: https://github.com/actions/setup-node/issues/32 - name: Get node version diff --git a/.github/workflows/front.yml b/.github/workflows/front.yml index 0c6ae157..aeb094e5 100644 --- a/.github/workflows/front.yml +++ b/.github/workflows/front.yml @@ -20,6 +20,14 @@ jobs: - name: Checkout uses: actions/checkout@v2 + # Use HTTPS instead of SSH to install dependencies from GitHub repos + # See: https://github.com/actions/setup-node/issues/214#issuecomment-810829250 + # this could be removed once git-rev-sync is pointed back at the upstream repo + - name: Reconfigure git to use HTTP authentication + run: > + git config --global url."https://github.com/".insteadOf + ssh://git@github.com/ + # this could be removed once setup-node adds support for .nvmrc files # ref: https://github.com/actions/setup-node/issues/32 - name: Get node version