UNPKG

480 BYAMLView Raw
1platform:
2- x64
3environment:
4 nodejs_version: "6"
5cache:
6- '%APPDATA%\npm-cache'
7- '%USERPROFILE%\.electron'
8- node_modules
9branches:
10 only:
11 - master
12 - /^v\d+\.\d+\.\d+/
13install:
14- ps: Install-Product node $env:nodejs_version $env:platform
15- set PATH=%APPDATA%\npm;%PATH%
16- npm install
17- npm update
18
19test_script:
20- node --version
21- npm --version
22- npm run lint
23- if %APPVEYOR_REPO_TAG% EQU false npm run make
24
25build_script:
26- IF %APPVEYOR_REPO_TAG% EQU true npm run publish