Remove duplicate npm installs, typos in ci's

This commit is contained in:
Gene Hoffman 2020-05-23 16:20:58 -07:00 committed by wjblanke
parent caa71e83ce
commit 86fb4bec1e
2 changed files with 3 additions and 5 deletions

View File

@ -14,7 +14,7 @@ pool:
vmImage: "macOS-10.14"
strategy:
matrix:
Moajave DMG:
Mojave DMG:
python.version: "3.7"
# Python38:
# python.version: '3.8' # Disabled 3.8 because artifact names conflict
@ -42,9 +42,6 @@ steps:
npm install -g n
sudo n stable
pip install -i https://download.chia.net/simple/ miniupnpc==2.1 setproctitle==1.1.10 cbor2==5.1.0
cd ./electron-react
npm install
npm audit fix
displayName: "Install dependencies"
- script: |
@ -56,6 +53,7 @@ steps:
. ./activate
cd ./electron-react
npm install
npm audit fix
displayName: "Build Electron UI"
# Using wheels and release style install so no sh install.sh

View File

@ -21,7 +21,7 @@ Write-Output " ---";
pip wheel --use-pep517 --only-binary cbor2 --extra-index-url https://download.chia.net/simple/ -f . --wheel-dir=.\build_scripts\win_build .
Write-Output " ---";
Write-Output "\Create venv - python3.7 or 3.8 is required in PATH";
Write-Output "Create venv - python3.7 or 3.8 is required in PATH";
Write-Output " ---";
python -m venv venv
. .\venv\Scripts\Activate.ps1