Skip to content
play

GitHub Action

Setup Nsolid environment

v1.0.1 Latest version

Setup Nsolid environment

play

Setup Nsolid environment

Setup a Nsolid environment

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Nsolid environment

uses: nodesource/[email protected]

Learn more about this action in nodesource/setup-nsolid

Choose a version

image

setup-nsolid

Test Nsolid Action Basic validation Check dist

This action provides the following functionality for GitHub Actions users:

  • Install the latest Nsolid version
  • Install any specific Nsolid version

Usage

See action.yml

Basic Usage:

steps:
- uses: actions/checkout@v4
- uses: nodesource/setup-nsolid@v1
  with:
    node-version: 20
    nsolid-version: 5
- run: nsolid -vv

All options:

- uses: nodesource/setup-nsolid@v1
  with:
    # Version Spec of the version to use in SemVer notation.
    # Examples: 18, 18.19.1, 20, 20.11.1,
    node-version: ''

    # Nsolid version to use, . E.g: 5, 5.0.5, 4.10.0, latest.
    # Examples: 5, 5.0.5, 5.0.1
    nsolid-version: ''

    # Set the platform where you expect to run the action.
    # supported options: 'linux', 'darwin', 'win32'
    # Default: ''. The action will set the detected platform by default.
    platform: ''

    # Target architecture for Nsolide to use. Examples: x86, x64. Will use system architecture by default.
    # Default: ''. The action use system architecture by default 
    arch: ''

License

The scripts and documentation in this project are released under the MIT License