Skip to content

api_function_testgithubactionsnodejsenvironment

hugoalh edited this page Mar 2, 2023 · 11 revisions

Test-GitHubActionsNodeJsEnvironment

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

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

Description

Test-GitHubActionsNodeJsEnvironment [-Retest]

Test the current machine whether has compatible NodeJS and NPM environment, and has dependencies ready; Test result always cache for reuse.

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

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

(<= v1.1.X) [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