electron-forge
Version:
A complete tool for building modern Electron applications
27 lines (24 loc) • 480 B
YAML
platform:
- x64
environment:
nodejs_version: "6"
cache:
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
- node_modules
branches:
only:
- master
- /^v\d+\.\d+\.\d+/
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- set PATH=%APPDATA%\npm;%PATH%
- npm install
- npm update
test_script:
- node --version
- npm --version
- npm run lint
- if %APPVEYOR_REPO_TAG% EQU false npm run make
build_script:
- IF %APPVEYOR_REPO_TAG% EQU true npm run publish