forked from juice-shop/juice-shop
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
40 lines (40 loc) · 1.04 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
version: '{build}'
init:
- git config --global core.autocrlf true
branches:
except:
- gh-pages
- l10n_develop
environment:
matrix:
- nodejs_version: 6
- nodejs_version: 8 # recommended version
- nodejs_version: 9
platform:
- x64
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- node --version && npm --version
- if exist node_modules rd /Q /S node_modules # workaround for npm install bug missing module dependencies
- npm install --production
- node_modules\.bin\grunt package
build: off
test: off
matrix:
fast_finish: true
artifacts:
- path: dist\*
deploy:
- provider: GitHub
draft: true
auth_token:
secure: bFkucwU1Zoh4EgzKmTAwONzQxuWPWrPGa+yXgadKQRd2jz5JPDZEw1f1vz2r+7i1
on:
appveyor_repo_tag: true
notifications:
- provider: Slack
incoming_webhook:
secure: KzO8e88B0LKqAI0BQM6lNhCIn9rxAava3AcdVJDyTw420OLIAlK+qzzbLXaR0jSH9zIJz9zu0iGS1iaqu9Co+6owYUrHJlBGrUZ/lZNCsDo=
on_build_success: false
on_build_failure: false
on_build_status_changed: true