environment:
  matrix:
    - nodejs_version: "Stable"
    - nodejs_version: "LTS"

cache:
 - "%LOCALAPPDATA%\\Yarn"

install:
  - ps: $env:VERSION = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
  - ps: Update-AppveyorBuild -Version "$env:VERSION-$env:APPVEYOR_BUILD_NUMBER"
  - ps: Install-Product node $env:nodejs_version
  - node --version
  - yarn --version
  - yarn install

before_build:
  - yarn lint

build_script:
  - yarn build

test_script:
  - yarn test

on_success:
  - yarn coverage

build: off

environment:
  matrix:
    - nodejs_version: "Stable"
    - nodejs_version: "LTS"

cache:
 - "%LOCALAPPDATA%\\Yarn"

install:
  - ps: $env:VERSION = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
  - ps: Update-AppveyorBuild -Version "$env:VERSION-$env:APPVEYOR_BUILD_NUMBER"
  - ps: Install-Product node $env:nodejs_version
  - node --version
  - yarn --version
  - yarn install

build_script:
  - yarn lint
  - yarn build

test_script:
  - yarn test

on_success:
  - yarn coverage

build: off

Make sure linting runs on Appveyor
Make sure linting runs on Appveyor
