Skip to content

Commit

Permalink
testing nvm usage
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed May 1, 2024
1 parent fc319f4 commit fa0eccf
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -67,5 +66,4 @@ skip_commits:
build: off

cache:
- '%APPDATA%\npm-cache -> package.json' # npm cache
- node_modules -> package.json

0 comments on commit fa0eccf

Please sign in to comment.