forked from electron/forge
/
.appveyor.yml
38 lines (35 loc) · 872 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
36
37
38
platform:
- x64
environment:
nodejs_version: "6"
matrix:
- node_installer: yarn
cache:
- 'node_modules'
- '%USERPROFILE%\.electron'
branches:
only:
- master
- v6
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- set PATH=%APPDATA%\npm;%PATH%
- npm i -g bolt@0.21.2
- if not exist "node_modules" mkdir node_modules
- ps: Remove-Item node_modules -Recurse -Force
- bolt
- yarn build
- ps: |
$wixToolsetBinPath = ";C:\Program Files (x86)\WiX Toolset v3.11\bin;"
$env:PATH = $env:PATH + $wixToolsetBinPath
[Environment]::SetEnvironmentVariable("Path", $env:PATH, [EnvironmentVariableTarget]::Machine)
if ((Get-Command "light.exe" -ErrorAction SilentlyContinue) -eq $null)
{
Write-Host "Unable to find light.exe in your PATH"
}
test_script:
- node --version
- yarn --version
- yarn lint
- yarn test
build: off