Skip to content

Commit

Permalink
Changed npm scripts in appveyor to yarn scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Dec 6, 2017
1 parent a85b765 commit 5cbaf3e
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,35 @@ artifacts:
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- set PATH=%APPDATA%\npm;%PATH%
- npm install
# - npm install
- yarn

before_test:
- npm install -g @angular/cli
- npm install -g karma
- npm install -g electron-forge
- npm install
- yarn global add @angular/cli
- yarn global add karma
- yarn global add electron-forge
- yarn
# - npm install -g @angular/cli
# - npm install -g karma
# - npm install -g electron-forge
# - npm install
- ng build

test_script:
- node --version
- npm --version
- npm run test-build
# - npm --version
# - npm run test-build
- yarn --version
- yarn text-build

build: off # We do not intend to build using MS Build

# Run build in after_test to generate artifacts
after_test:
- ps: (Get-Content .\dist\index.html) | ForEach-Object { $_ -replace '<base href="/">', '<base href="./">' } | Set-Content .\dist\index.html
# - npm run make
- npm run dist-electron
- yarn dist-electron
# - npm run dist-electron

deploy:
description: ''
Expand Down

0 comments on commit 5cbaf3e

Please sign in to comment.