mirror of
https://github.com/actions/node-versions.git
synced 2025-01-11 18:45:19 +00:00
Update Node.Tests.ps1
This commit is contained in:
parent
8de3d72cb1
commit
f0dfcccfe7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user