mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00: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
@@ -10,7 +10,7 @@ source $HELPER_SCRIPTS/document.sh
|
||||
# Install LTS Node.js and related build tools
|
||||
curl -sL https://raw.githubusercontent.com/mklement0/n-install/stable/bin/n-install | bash -s -- -ny -
|
||||
~/n/bin/n lts
|
||||
npm install -g grunt gulp n parcel-bundler typescript
|
||||
npm install -g grunt gulp n parcel-bundler typescript newman
|
||||
npm install -g --save-dev webpack webpack-cli
|
||||
npm install -g npm
|
||||
rm -rf ~/n
|
||||
@@ -25,7 +25,7 @@ apt-get install -y --no-install-recommends yarn
|
||||
|
||||
# Run tests to determine that the software installed as expected
|
||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||
for cmd in node grunt gulp webpack parcel yarn; do
|
||||
for cmd in node grunt gulp webpack parcel yarn newman; do
|
||||
if ! command -v $cmd; then
|
||||
echo "$cmd was not installed"
|
||||
exit 1
|
||||
@@ -43,3 +43,4 @@ DocumentInstalledItem "TypeScript ($(tsc --version))"
|
||||
DocumentInstalledItem "Webpack ($(webpack --version))"
|
||||
DocumentInstalledItem "Webpack CLI ($(webpack-cli --version))"
|
||||
DocumentInstalledItem "Yarn ($(yarn --version))"
|
||||
DocumentInstalledItem "Newman ($(newman --version))"
|
||||
|
||||
Reference in New Issue
Block a user