-
Notifications
You must be signed in to change notification settings - Fork 19
/
appveyor.yml
31 lines (31 loc) · 848 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
os:
- Visual Studio 2017
cache:
- node_modules -> yarn.lock
branches:
only:
- production
environment:
NODE_ENV: 'production'
GITHUB_TOKEN:
secure: G/hTb/AdUY4ynt5XGj10fROfQZC2xgogiQAiqXT63cEMGAGcZ8+6rOdQJzf4/PHf
matrix:
- nodejs_version: 10.4
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- npm install -g npm@latest
- npm install -g [email protected]
- set PATH=%APPDATA%\npm;%PATH%
- set PATH=C:\Program Files (x86)\Windows Kits\10\bin\x64;%PATH%
- yarn install --production=false
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
matrix:
fast_finish: true
build: off
version: '{build}'
shallow_clone: true
clone_depth: 1
test_script:
- yarn run production-windows
- yarn run publish