Skip to content

api_function_testgithubactionsnodejsenvironment

hugoalh edited this page Nov 9, 2023 · 11 revisions

Test-GitHubActionsNodeJsEnvironment

πŸ‘Ž Deprecated: This is officially deprecated, maybe throw warning in the latest version, and maybe remove in the future version.

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

  • Type: Function
  • In Version: v0.5.0 ~ v1.7.X

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

  • Test-GitHubActionsNodeJsEnvironment
      [-Retest]

Parameter

Retest

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

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

ReinstallDependencies

❌ Removed: This is officially removed, will throw error in the latest version.

(< v1.2.0, v1.3.2) [Optional] <Switch> Whether to force reinstall dependencies even though available.

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

Output

<Boolean> Test result.

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally