Files
ozan 84d0ebff48 fix: dnf support in setup-node + setup-aws, node label t3.medium
- setup-node: detect dnf (Amazon Linux) alongside apk/apt-get
- setup-aws: detect dnf for official installer
- node Spot bumped to t3.medium (4GB) — Docusaurus OOM'd on t3.small
2026-05-23 12:37:25 +01:00
..

tinqs/ci/setup-node

Installs Node.js and optionally pnpm.

Detects Alpine vs Debian and uses the right package manager (apk or NodeSource). Skips installation if the correct major version is already present in the runner image.

Usage

- uses: tinqs/ci/setup-node@v1

Options

- uses: tinqs/ci/setup-node@v1
  with:
    node-version: '22'    # default: 22
    pnpm: 'true'          # default: true

Inputs

Input Default Description
node-version 22 Node.js major version
pnpm true Install pnpm globally