-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
46 lines (38 loc) · 1.03 KB
/
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
39
40
41
42
43
44
45
46
version: 0.1.{build}
platform:
- x64
cache:
- node_modules
- app\node_modules
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
init:
- git config --global core.autocrlf input
install:
- ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
- ps: Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
- ps: Install-Product node 9 x64
- set CI=true
- git reset --hard HEAD
- npm install npm -g
- npm install grunt-cli -g
- npm install
build_script:
- node --version
- npm --version
- grunt dist
before_deploy:
- mkdir apps\installers
- npm run deploy-appveyor
- appveyor PushArtifact apps\installers\spaceinvader-win32-ia32.zip
- appveyor PushArtifact apps\installers\spaceinvader-win32-x64.zip
deploy:
description: ''
provider: GitHub
auth_token:
secure: GGWpP6cibMdB2Q9L41M3GBz4KEQILhjiI+gXJtKlD1YkMmGMW0DlF7g6JdYg3znT
draft: false
prerelease: false
on:
appveyor_repo_tag: true # deploy on tag push only
test: off