Skip to content

Commit 6aa0661

Browse files
committed
fix(ci): preload github ssh rsa public key
1 parent 45cffc5 commit 6aa0661

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.evergreen/setup-env.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ fi
4141

4242
export npm_config_registry=https://registry.npmjs.org/
4343

44+
# hopefully avoid `npm ERR! Host key verification failed`
45+
mkdir -p ~/.ssh && ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
46+
4447
echo "Running on:"
4548
uname -a
4649

0 commit comments

Comments
 (0)