Update Node.Tests.ps1

This commit is contained in:
aparnajyothi-y
2024-07-08 12:36:56 +05:30
committed by GitHub
parent 8de3d72cb1
commit f0dfcccfe7

View File

@@ -41,7 +41,7 @@ Describe "Node.js" {
$useNodeLogFile | Should -Exist
$useNodeLogContent = Get-Content $useNodeLogFile -Raw
$useNodeLogContent | Should -Match "Found in cache"
} else {
} elseif ($env:RUNNER_TYPE -eq "self-hosted") {
# Get the installed version of Node.js
$nodeVersion = Invoke-Expression "node --version"
# Check if Node.js is installed