electron-forge
Version:
A complete tool for building modern Electron applications
34 lines (30 loc) • 758 B
YAML
platform:
- x64
environment:
nodejs_version: "6"
matrix:
- node_installer: yarn
cache:
- 'node_modules'
- '%USERPROFILE%\.electron'
branches:
only:
- master
- 5.x
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- set PATH=%APPDATA%\npm;%PATH%
- yarn
- 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 test --installer=%node_installer%
build: off