version: '{build}'
image: Visual Studio 2015
environment:
  global:
    NODEJS_VERSION: "14"
    JAVA_HOME: C:\Program Files\Java\jdk1.8.0
install:
  - ps: Install-Product node $env:NODEJS_VERSION
  - npm install
  - cmd: choco install sbt --version 1.3.12 -ia "INSTALLDIR=""C:\sbt"""
  - cmd: SET PATH=C:\sbt\bin;%JAVA_HOME%\bin;%PATH%
  - cmd: SET "SBT_OPTS=-Xmx4g -Xms4m"
build: off
test_script:
  # Very far from testing everything, but at least it is a good sanity check
  # For slow things (partest and scripted), we execute only one test
  - cmd: sbt ";clean;testSuite2_12/test;linker2_12/test;partestSuite2_12/testOnly -- --fastOpt run/option-fold.scala"
cache:
  - C:\sbt
  - C:\Users\appveyor\.ivy2\cache
  - C:\Users\appveyor\.sbt

version: '{build}'
image: Visual Studio 2015
environment:
  global:
    NODEJS_VERSION: "16"
    JAVA_HOME: C:\Program Files\Java\jdk1.8.0
install:
  - ps: Install-Product node $env:NODEJS_VERSION
  - npm install
  - cmd: choco install sbt --version 1.3.12 -ia "INSTALLDIR=""C:\sbt"""
  - cmd: SET PATH=C:\sbt\bin;%JAVA_HOME%\bin;%PATH%
  - cmd: SET "SBT_OPTS=-Xmx4g -Xms4m"
build: off
test_script:
  # Very far from testing everything, but at least it is a good sanity check
  # For slow things (partest and scripted), we execute only one test
  - cmd: sbt ";clean;testSuite2_12/test;linker2_12/test;partestSuite2_12/testOnly -- --fastOpt run/option-fold.scala"
cache:
  - C:\sbt
  - C:\Users\appveyor\.ivy2\cache
  - C:\Users\appveyor\.sbt

Upgrade to Node.js 16 in the AppVeyor configuration.
Upgrade to Node.js 16 in the AppVeyor configuration.
