Skip to content

Commit

Permalink
Deployment settings
Browse files Browse the repository at this point in the history
  • Loading branch information
as3810t committed Feb 9, 2018
1 parent 0bdd213 commit fcdf3b8
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
environment:
nodejs_version: "8"

artifacts:
- path: 'out\make\*'

# Install scripts. (runs after repo cloning)
install:
- node --version
- npm --version
# Set build number
- ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
- ps: Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
Expand All @@ -13,14 +18,14 @@ install:
- npm install
- npm install -g @angular/cli
- npm install -g electron-forge
- npm install typescript@'>=2.4.2 <2.7.0'

# Post-install test scripts.
test_script:
test: off
# Output useful info for debugging.
- node --version
- npm --version

build_script:
- ng build --aot
- electron-forge make --arch=ia32

deploy_script:
- electron-forge publish --arch=ia32

0 comments on commit fcdf3b8

Please sign in to comment.