-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
appveyor.yml
35 lines (28 loc) · 815 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: 0.1.{build}
branches:
only:
- master
image: Visual Studio 2017
platform:
- x64
cache:
- node_modules
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
- '%USERPROFILE%\AppData\Local\Yarn\cache'
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node 9 x64
- choco install yarn --ignore-dependencies
# - choco install yarn --version 1.0.2 --ignore-dependencies
# - ps: Write-Host "Installing Yarn 1.3.2..."
# - ps: (New-Object Net.WebClient).DownloadFile('https://github.com/yarnpkg/yarn/releases/download/v1.3.2/yarn-1.3.2.msi', "$env:temp\yarn-1.3.2.msi")
# - cmd /c start /wait msiexec.exe /i $env:temp\yarn-1.3.2.msi /quiet
- yarn --version
- git reset --hard HEAD
- yarn
- node --version
build_script:
- yarn build
test: off