-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
71 lines (57 loc) · 1.56 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
os: unstable
environment:
matrix:
- nodejs_version: 7
- nodejs_version: 6
cache:
- node_modules -> package.json
- app/node_modules -> app/package.json
# Enable when https://github.com/yarnpkg/yarn/issues/1233 and
# https://github.com/yarnpkg/yarn/issues/1059 are resolved and disable npm cache
#
# cache:
# - "%LOCALAPPDATA%/Yarn"
matrix:
fast_finish: true
build: off
version: '{build}'
shallow_clone: true
clone_depth: 1
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- npm install -g npm@latest
- set PATH=%APPDATA%\npm;%PATH%
- npm install
# Enable when https://github.com/yarnpkg/yarn/issues/1233 and
# https://github.com/yarnpkg/yarn/issues/1059 are resolved and disable npm cache
#
# install:
# - ps: Install-Product node $env:nodejs_version
# - set CI=true
# - choco install yarn
# - refreshenv
# - yarn
test_script:
- node --version
- npm run lint
- npm run test
- npm run build
- npm run test-e2e
- npm run package
after_test:
- npm run package-win
artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: release\*.exe
deploy:
description: $(appveyor_build_version)
provider: GitHub
auth_token:
secure: vdh0PKOPwrsa2ZzN3ayrFOU8wwzOWLDF2+GFo7mGKd5Pyfk8YKMhBRFeUGnO8PJK # your encrypted token from GitHub
artifact: /.*\.exe/ # upload all NuGet packages to release assets
draft: false
prerelease: false
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only