Skip to content

Commit 3141ae0

Browse files
committed
fix: npm install issues with auth-react setup action
- `web-js` dependency does not specify http/ssh - `npm` uses ssh by default which fails with a key error
1 parent e0c1424 commit 3141ae0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/auth-react-test-1.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ jobs:
6969
ref: ${{ steps.repo-versions.outputs.nodeVersion }}
7070
path: supertokens-node
7171

72+
# Makes npm use HTTP instead of SSH for installs
73+
- name: Reconfigure git to use HTTP authentication
74+
run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
75+
7276
- uses: supertokens/auth-react-testing-action/setup@main
7377
id: envs
7478
with:

0 commit comments

Comments
 (0)