mirror of
https://github.com/desktop/desktop
synced 2024-10-12 11:02:34 +00:00
32f41fa687
@niik suggested to use v12.8.1, which is the latest LTS and the version included in Electron v7 Co-Authored-By: Markus Olsson <niik@users.noreply.github.com>
41 lines
692 B
YAML
41 lines
692 B
YAML
os: Visual Studio 2015
|
|
|
|
platform:
|
|
- x64
|
|
|
|
environment:
|
|
nodejs_version: '12.8.1'
|
|
|
|
cache:
|
|
- '%USERPROFILE%\.electron'
|
|
- .eslintcache
|
|
- '%LOCALAPPDATA%\Yarn\Cache\v4'
|
|
|
|
skip_tags: true
|
|
skip_branch_with_pr: true
|
|
|
|
version: '{build}'
|
|
|
|
install:
|
|
- cmd: regedit /s script\default-to-tls12-on-appveyor.reg
|
|
- ps: Install-Product node $env:nodejs_version $env:platform
|
|
- git submodule update --init --recursive
|
|
- yarn install --force
|
|
|
|
build_script:
|
|
- yarn lint
|
|
- yarn validate-changelog
|
|
- yarn check-modified
|
|
- yarn build:prod
|
|
|
|
test_script:
|
|
- yarn test:setup
|
|
- ./script/test-appveyor.bat
|
|
|
|
on_success:
|
|
- yarn run publish
|
|
|
|
on_finish:
|
|
- yarn test:review
|
|
- yarn test:report
|