forked from marktext/marktext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (38 loc) · 957 Bytes
/
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
47
48
49
50
51
version: 0.1.{build}
image: Visual Studio 2017
platform:
- x64
clone_folder: c:\projects\marktext
branches:
only:
- master
- /^release-v[0-9.]+$/
skip_tags: true
environment:
MARKTEXT_IS_OFFICIAL_RELEASE: 1
MARKTEXT_EXIT_ON_ERROR: 1
GH_TOKEN:
secure: Ki5AJWygDYhzMJxl0b0rDx3bhAYmar2aPdwVHiai9IigqsvZpWHLeI3qpTiiaOWL
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node 8 $env:PLATFORM
- node --version
- npm --version
- yarn --version
- yarn install --frozen-lockfile
cache:
- node_modules
- '%LOCALAPPDATA%\electron\Cache'
- '%LOCALAPPDATA%\electron-builder\cache'
- '%LOCALAPPDATA%\Yarn\cache'
build_script:
- yarn run lint
- yarn run test
- yarn run release:win
# calculate checksums
- ps: get-filehash -Algorithm SHA256 "build\Mark Text *.exe"
- ps: get-filehash -Algorithm SHA256 "build\Mark Text Setup *.exe"
test: off
# test_script:
# - yarn run test