[ubuntu] Add lerna (#2763)

* Add lerna to linux images

* Add a comment about netlify-cli

* remove Node.js tests from Tools.Tests.ps1

* fix tabs

* revert empty lines

* fix code style
This commit is contained in:
Sergey Dolin
2021-02-26 20:06:24 +05:00
committed by GitHub
parent 238c623def
commit 12ba306121
6 changed files with 166 additions and 20 deletions

View File

@@ -0,0 +1,14 @@
Describe "Node.js" {
$binaries = @("node")
$module_commands = (Get-ToolsetContent).node_modules | ForEach-Object { $_.command }
$testCases = $binaries + $module_commands | ForEach-Object { @{NodeCommand = $_} }
It "<NodeCommand>" -TestCases $testCases {
param (
[string] $NodeCommand
)
"$NodeCommand --version" | Should -ReturnZeroExitCode
}
}