Skip to content

Commit 11c6076

Browse files
committed
Add an appveyor config
1 parent bed5910 commit 11c6076

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

appveyor.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
platform:
2+
- x64
3+
4+
environment:
5+
nodejs_version: "10"
6+
7+
cache:
8+
- '%APPDATA%\npm-cache'
9+
- '%USERPROFILE%\.electron'
10+
- node_modules
11+
12+
branches:
13+
only:
14+
- master
15+
- /^v\d\.\d\.\d/
16+
17+
install:
18+
- ps: Install-Product node $env:nodejs_version $env:platform
19+
- set PATH=%APPDATA%\npm;%PATH%
20+
- npm install
21+
- npm update
22+
23+
build_script:
24+
- node --version
25+
- npm --version
26+
- if %APPVEYOR_REPO_TAG% EQU false npm run make
27+
28+
deploy_script:
29+
- IF %APPVEYOR_REPO_TAG% EQU true npm run publish

0 commit comments

Comments
 (0)