mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Add lerna validation
This commit is contained in:
@@ -26,6 +26,16 @@ else
|
||||
exit 1
|
||||
}
|
||||
|
||||
if(Get-Command -Name 'lerna')
|
||||
{
|
||||
Write-Host "lerna $(lerna --version) on path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host "lerna is not on path"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
if( $(node --version) -match 'v(?<version>.*)' )
|
||||
|
||||
Reference in New Issue
Block a user