1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-06 00:48:08 +02:00
bitwarden-browser/appveyor.yml

40 lines
730 B
YAML
Raw Normal View History

2019-03-08 20:44:02 +01:00
image:
- Visual Studio 2017
- Ubuntu1804
branches:
except:
- l10n_master
- gh-pages
environment:
APPVEYOR_YML_DISABLE_PS_LINUX: true
services:
- docker
stack: node 10
init:
2019-03-12 20:37:32 +01:00
- ps: Install-Product node 10
2019-03-08 20:44:02 +01:00
install:
- ps: choco install cloc --no-progress
- ps: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
- ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
before_build:
2019-03-12 20:37:32 +01:00
- node --version
- npm --version
2019-03-12 21:02:39 +01:00
- cmd: set "GIT_PATH=C:\Program Files\Git\mingw64\libexec\git-core"
- cmd: set "PATH=%GIT_PATH%;%PATH%"
2019-03-08 20:44:02 +01:00
build_script:
- sh: chmod +x ./build-ci.sh
- sh: ./build-ci.sh
2019-03-12 21:10:08 +01:00
- cmd: npm install
- cmd: npm run build:prod
2019-03-08 20:44:02 +01:00
after_build:
- sh: docker logout