move to ps commands
This commit is contained in:
parent
ffeb9dbaa5
commit
34ef71707a
12
appveyor.yml
12
appveyor.yml
|
@ -16,7 +16,7 @@ services:
|
||||||
stack: node 10
|
stack: node 10
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- ps: Install-Product node $env:nodejs_version
|
- ps: Install-Product node 10
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: choco install cloc --no-progress
|
- ps: choco install cloc --no-progress
|
||||||
|
@ -24,16 +24,14 @@ install:
|
||||||
- ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
|
- ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- cmd: node --version
|
- node --version
|
||||||
- cmd: npm --version
|
- npm --version
|
||||||
- cmd: set "GIT_PATH=C:\Program Files\Git\mingw64\libexec\git-core"
|
|
||||||
- cmd: set "PATH=%GIT_PATH%;%PATH%"
|
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- sh: chmod +x ./build-ci.sh
|
- sh: chmod +x ./build-ci.sh
|
||||||
- sh: ./build-ci.sh
|
- sh: ./build-ci.sh
|
||||||
- cmd: npm install
|
- ps: npm install
|
||||||
- cmd: npm run build:prod
|
- ps: npm run build:prod
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- sh: docker logout
|
- sh: docker logout
|
||||||
|
|
Loading…
Reference in New Issue