Skip to content

Commit 57cbf5c

Browse files
committed
Increase TLS vesion on Windows tests to fix nvm download
1 parent c52cb84 commit 57cbf5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ powershell -c "[System.Environment]::OSVersion"
2121
powershell -c "Get-WmiObject -Class Win32_ComputerSystem"
2222
powershell -c "(Get-WmiObject -Class Win32_ComputerSystem).SystemType"
2323

24-
powershell -c "& { iwr https://raw.githubusercontent.com/grumpycoders/nvm-ps/master/nvm.ps1 | iex }"
24+
powershell -c "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; & { iwr https://raw.githubusercontent.com/grumpycoders/nvm-ps/master/nvm.ps1 | iex }"
2525

2626
SET PATH=%APPDATA%\nvm-ps;%APPDATA%\nvm-ps\nodejs;%PATH%
2727
SET JOBS=8

0 commit comments

Comments
 (0)