forked from Nexus-Mods/Vortex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (33 loc) · 834 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
version: 1.0.{build}
clone_depth: 1
image:
- Visual Studio 2017
environment:
nodejs_version: 14
platform:
- x64
configuration:
- Release
install:
- ps: Install-Product node $env:nodejs_version x64
- ps: |
Write-Host "Installing newest Yarn!"
(New-Object Net.WebClient).DownloadFile("https://github.com/yarnpkg/yarn/releases/download/v1.22.15/yarn-1.22.15.msi", "$env:temp\yarn.msi")
- cmd: |
msiexec.exe /i %TEMP%\yarn.msi /quiet /qn /norestart
- cmd: |
yarn install
branches:
except:
- announcements
build_script:
- cmd: >-
yarn run ci
test_script:
- cmd: >-
yarn run test
artifacts:
- path: dist\Vortex Setup *.exe
name: Setup
on_failure:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))