appveyor.yml

Summary

Maintainability
Test Coverage
version: "{build}"

platform:
  - x64

image: Visual Studio 2019


cache:
  - node_modules
  - app\node_modules
  - '%APPDATA%\npm-cache'
  - '%USERPROFILE%\.electron'

init:
  - git config --global core.autocrlf input

# Only build if commit message contains '[build]'
only_commits:
  message: /\[build\]/

install:
  - set /p NODE_VERSION=<.nvmrc
  - ps: Install-Product node $env:NODE_VERSION $env:PLATFORM
  - npm install npm -g
  - npm install electron-builder@next -g
  - npm install --production
  - npm prune

build_script:
  - node --version
  - npm --version
  - npm run build:win

# Post-install test scripts.
# test_script:
#   - script\test.cmd
test: off