mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[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:
14
images/linux/scripts/tests/Node.Tests.ps1
Normal file
14
images/linux/scripts/tests/Node.Tests.ps1
Normal 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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user