open-source

Environment Setup

This guide lists the tooling required to contribute to Open Source LabVIEW Actions and how to verify each component.

PowerShell 7.5.1

PowerShell 7.5.1 or newer is required. Verify the version:

pwsh --version

Node.js 24+

Install Node.js 24 or newer. Verify the installation:

node --version

actionlint

actionlint validates GitHub Actions workflows. Install it with Go and confirm it is on PATH:

go install github.com/rhysd/actionlint/cmd/actionlint@latest
actionlint -version

Pester

Pester runs the PowerShell test suite. The GitHub runner installs it automatically; install it only if you plan to run tests locally and confirm the module is available:

Install-Module Pester -Force -Scope CurrentUser
pwsh -NoLogo -Command 'Import-Module Pester; Invoke-Pester -Version'

g-cli

Some actions rely on NI’s LabVIEW command-line interface (g-cli). On Windows the executable typically resides at C:\Program Files\G-CLI\bin\g-cli.exe. Verify availability with:

& 'C:\Program Files\G-CLI\bin\g-cli.exe' --version
# or if on PATH
g-cli --version

Optional: LABVIEW_ICON_EDITOR_PATH

Set LABVIEW_ICON_EDITOR_PATH if a nonstandard icon editor is required. Check the value with:

echo $env:LABVIEW_ICON_EDITOR_PATH