Skip to content

Action: setup-upm-env

Installs Node.js, Unity UPM CLI, and configures npm registry authentication.

Action Path: Trickle-Charge/TrickleCharge-Infra/.github/actions/setup-upm-env@main

Inputs

Input Description Required Default
node-version Node.js runtime version No 20
auth-token Registry authentication token Yes

What It Does

  1. Installs Node.js.
  2. Installs Unity UPM CLI via curl installer.
  3. Configures local ~/.npmrc with target registry credentials.

Example Usage

- uses: Trickle-Charge/TrickleCharge-Infra/.github/actions/setup-upm-env@main
  with:
    node-version: ${{ inputs.node-version }}
    auth-token: ${{ secrets.NODE_AUTH_TOKEN }}