2019-06-14 12:59:43 +00:00
|
|
|
image: Visual Studio 2017
|
|
|
|
|
2019-07-03 21:19:14 +00:00
|
|
|
cache:
|
2019-07-13 13:18:42 +00:00
|
|
|
- '%USERPROFILE%\.electron'
|
2019-07-03 21:19:14 +00:00
|
|
|
|
|
|
|
skip_tags: true
|
|
|
|
|
2019-06-14 12:59:43 +00:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
init:
|
|
|
|
- git config --global core.autocrlf input
|
|
|
|
|
|
|
|
install:
|
2019-07-13 13:18:42 +00:00
|
|
|
- ps: Install-Product node 12 x64
|
2019-06-14 12:59:43 +00:00
|
|
|
- npm install
|
|
|
|
|
|
|
|
test_script:
|
2019-07-03 21:37:35 +00:00
|
|
|
- node --version
|
|
|
|
- npm --version
|
2019-06-14 12:59:43 +00:00
|
|
|
- npm run lint
|
2019-07-03 20:45:09 +00:00
|
|
|
- npm run pack
|
|
|
|
- npm run test
|
2019-06-14 12:59:43 +00:00
|
|
|
|
2019-07-20 18:01:26 +00:00
|
|
|
deploy_script:
|
2019-06-14 12:59:43 +00:00
|
|
|
- IF [%APPVEYOR_REPO_BRANCH%]==[master] npm run publish:win
|