From fa0eccf45acc79f22794ab6099acd756af19bd4e Mon Sep 17 00:00:00 2001 From: agracio Date: Wed, 1 May 2024 20:03:33 +0100 Subject: [PATCH] testing nvm usage --- appveyor.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 77d526e7..3380a26b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,24 +1,23 @@ image: - - Visual Studio 2019 - - Visual Studio 2022 - # - macos-monterey + - Ubuntu2204 + - macos-monterey environment: DOTNET_CLI_TELEMETRY_OPTOUT: 1 matrix: # node.js # - nodejs: "21" - - nodejs: "20" + # - nodejs: "20" # - nodejs: "18" - # - nodejs: "16" + - nodejs: "16" install: - sh: if [ "$APPVEYOR_BUILD_WORKER_IMAGE" = 'Ubuntu2204' ]; then sudo apt-get -qq update && sudo apt-get -y -qq install build-essential libgconf-2-4 python3 libglib2.0-dev; fi # - 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 + # - sh: nvm use $nodejs - cmd: node -v && npm -v && dotnet --version - sh: node -v && npm -v && dotnet --version - npm install -q @@ -67,5 +66,4 @@ skip_commits: build: off cache: - - '%APPDATA%\npm-cache -> package.json' # npm cache - node_modules -> package.json \ No newline at end of file