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

move to ps commands

This commit is contained in:
Kyle Spearrin 2019-03-12 15:37:32 -04:00
parent ffeb9dbaa5
commit 34ef71707a

View File

@ -16,7 +16,7 @@ services:
stack: node 10
init:
- ps: Install-Product node $env:nodejs_version
- ps: Install-Product node 10
install:
- ps: choco install cloc --no-progress
@ -24,16 +24,14 @@ install:
- ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
before_build:
- cmd: node --version
- cmd: npm --version
- cmd: set "GIT_PATH=C:\Program Files\Git\mingw64\libexec\git-core"
- cmd: set "PATH=%GIT_PATH%;%PATH%"
- node --version
- npm --version
build_script:
- sh: chmod +x ./build-ci.sh
- sh: ./build-ci.sh
- cmd: npm install
- cmd: npm run build:prod
- ps: npm install
- ps: npm run build:prod
after_build:
- sh: docker logout