Skip to content

Commit 37b1d4a

Browse files
authored
Try fixing node nightly windows download (#1616)
1 parent 4b979f8 commit 37b1d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
$version = (Invoke-WebRequest https://nodejs.org/download/nightly/index.json | ConvertFrom-json)[0].version
162162
$url = "https://nodejs.org/download/nightly/$version/win-x64/node.exe"
163163
$targetPath = (Get-Command node.exe).Source
164-
Invoke-WebRequest -Uri $url -OutFile $targetPath
164+
Invoke-WebRequest -Uri $url -OutFile $targetPath -UserAgent ([Microsoft.PowerShell.Commands.PSUserAgent]::Chrome)
165165
node --version
166166
# lint, build, test
167167
# Downgrade from npm 7 to 6 because 7 still seems buggy to me

0 commit comments

Comments
 (0)