From 509a3bef3617650d49399a1454ef7f343744ad14 Mon Sep 17 00:00:00 2001
From: openbuilds-engineer
Date: Thu, 12 Jul 2018 21:28:02 +0200
Subject: [PATCH] Working AppVeyor YML
---
appveyor.yml | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 appveyor.yml
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..035a435
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,32 @@
+version: appveyor-preflight-{build}-{branch}
+branches:
+ only:
+ - master
+image: Visual Studio 2017
+init:
+- ps: >-
+ git config --global core.autocrlf input
+
+ git config --global credential.helper store
+install:
+- ps: >-
+ Install-Product node 7 x64
+
+ $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
+
+ Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
+build_script:
+- cmd: >-
+ npm install
+
+ npm run dist
+test: off
+artifacts:
+- path: dist\*.*
+ name: dist
+ type: WebDeployPackage
+deploy:
+- provider: GitHub
+ auth_token:
+ secure: qR6cJCEAjzYYgJKkpa9aJmpTgX11HlSZTrDWRg38icikDeE7hOPCp+K3VqxgZ9ex
+ force_update: true
\ No newline at end of file