Skip to content

Commit

Permalink
build(front): fix npm install from GH repo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Sep 8, 2021
1 parent de17ce3 commit d74b54d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/front/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/front.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d74b54d

Please sign in to comment.