From 37b1d4ae99a3232e99174c4c63fe2d26d73b22e5 Mon Sep 17 00:00:00 2001 From: Andrew Bradley Date: Tue, 1 Feb 2022 14:40:42 -0500 Subject: [PATCH] Try fixing node nightly windows download (#1616) --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index f650e6c4d..3d2a5417f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -161,7 +161,7 @@ jobs: $version = (Invoke-WebRequest https://nodejs.org/download/nightly/index.json | ConvertFrom-json)[0].version $url = "https://nodejs.org/download/nightly/$version/win-x64/node.exe" $targetPath = (Get-Command node.exe).Source - Invoke-WebRequest -Uri $url -OutFile $targetPath + Invoke-WebRequest -Uri $url -OutFile $targetPath -UserAgent ([Microsoft.PowerShell.Commands.PSUserAgent]::Chrome) node --version # lint, build, test # Downgrade from npm 7 to 6 because 7 still seems buggy to me