From 2855e9f4d678e1723a124f3bbc3a8411acebf3e2 Mon Sep 17 00:00:00 2001 From: agracio Date: Wed, 1 May 2024 20:19:52 +0100 Subject: [PATCH] simplifying nvm usage --- appveyor.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 8a91c7f8..9e60df96 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,15 +17,12 @@ install: # - cmd: powershell .\appveyor.ps1 - cmd: powershell Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs) x64 - sh: nvm ls - - sh: nvm install $nodejs - - sh: nvm use $nodejs + - sh: nvm use $nodejs || nvm install $nodejs - cmd: node -v && npm -v && dotnet --version - sh: node -v && npm -v && dotnet --version - npm install -q - - cmd: echo npm install finished test_script: - - cmd: echo starting tests - cmd: node tools/test.js CI - cmd: SET EDGE_USE_CORECLR=1 & node tools/test.js CI - sh: EDGE_USE_CORECLR=1 node tools/test.js CI