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