-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
46 lines (37 loc) · 1.08 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
image:
- Visual Studio 2017
version: '1.0.{build}'
environment:
nodejs_version: "6"
install:
- ps: Install-Product node $env:nodejs_version
- npm install
build_script:
- npm run build
after_build:
- node make.js package
test_script:
- npm test
artifacts:
- path: _package\tasks.zip
name: Tasks
deploy:
# Having "tag" set to the original repo-tag is utterly important, or each
# build will create a new tag and spawn a new build in consequence - going
# on endlessly (see http://help.appveyor.com/discussions/problems/3362-deployment-to-github).
tag: $(appveyor_repo_tag_name)
# For now, we use the tag name.
#release: cklutz-tasks-v$(appveyor_build_version)
description: 'Custom VSTS/TFS build tasks'
provider: GitHub
auth_token:
secure: JqHA68F4hpk9M0hqTsZjOKE5S12lGEZG8gRZTimIFQ/9L4vY+OAzC3Gs3rEjlPWx
artifact: Tasks
draft: false
prerelease: false
on:
appveyor_repo_tag: true
cache:
- node_modules -> package.json
# Note: not caching _downloads; it seems downloading them fresh is faster than caching
# - _download -> **\make.json