Skip to content

api_function_testgithubactionsnodejsenvironment

hugoalh edited this page Mar 13, 2023 · 11 revisions

Test-GitHubActionsNodeJsEnvironment

⚠ Important: Do not confused with function Test-GitHubActionsEnvironment!

  • Type: Function
  • In Version: >= v0.5.0

Description

Test-GitHubActionsNodeJsEnvironment [-ReinstallDependencies] [-Retest]

Test the current machine whether has compatible NodeJS environment; Test result always cache for reuse.

Parameter

ReinstallDependencies

[Optional] <Switch> Whether to force reinstall dependencies even though available.

  • Position: Named
  • Accept Pipeline Input By Property Name: False ❌
  • Alias:
    • Reinstall
    • ReinstallDependency
    • ReinstallPackage
    • ReinstallPackages

Retest

[Optional] <Switch> Whether to redo this test by ignore the cached test result.

  • Position: Named
  • Accept Pipeline Input By Property Name: False ❌

Output

<Boolean> Test result.

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally