mirror of
https://github.com/actions/runner-images.git
synced 2026-01-02 08:07:44 +08:00
Add Newman tool (#1185)
* Add Newman * Move installation to NodeLts script on Windows
This commit is contained in:
committed by
GitHub
parent
8226c37bf4
commit
9ed8bbbc63
@@ -33,3 +33,4 @@ npm install -g --save-dev webpack webpack-cli
|
||||
npm install -g yarn
|
||||
npm install -g lerna
|
||||
npm install -g node-sass
|
||||
npm install -g newman
|
||||
|
||||
@@ -35,3 +35,13 @@ else
|
||||
Write-Host "lerna is not on path"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if (Get-Command -Name 'newman')
|
||||
{
|
||||
Write-Host "Newman $(newman --version) is on the path."
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host "Newman is not on the path."
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user