mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[MacOS] Rework NodeJS install (#4380)
This commit is contained in:
@@ -13,6 +13,10 @@ Describe "Node.js" {
|
||||
"node --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "Node.js version should correspond to the version in the toolset" {
|
||||
node --version | Should -BeLike "v$(Get-ToolsetValue 'node.default')*"
|
||||
}
|
||||
|
||||
It "Node.js $expectedNodeVersion is default" {
|
||||
(Get-CommandResult "node --version").Output | Should -BeLike $expectedNodeVersion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user