cache:
 - "%LOCALAPPDATA%\\Yarn"

install:
  - ps: yarn install

test_script:
  - node --version
  - yarn --version

build_script:
  - yarn run package

artifacts:
  - path: '_InstallPackages/*.zip'

notifications:
  - provider: GitHubPullRequest

environment:
  nodejs_version: "LTS"

cache:
 - "%LOCALAPPDATA%\\Yarn"

install:
  - ps: Install-Product node $env:nodejs_version
  - ps: yarn install

test_script:
  - node --version
  - yarn --version

build_script:
  - yarn run package

artifacts:
  - path: '_InstallPackages/*.zip'

notifications:
  - provider: GitHubPullRequest

Use newer version of node to install
Use newer version of node to install
