OneLauncher-Cracked/.github/actions/setup-pnpm/action.yml
2025-07-24 11:23:23 +02:00

29 lines
661 B
YAML

name: Setup Pnpm
description: Setup Pnpm
inputs:
token:
description: GitHub token
required: false
default: ''
runs:
using: composite
steps:
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Install Node.js
uses: actions/setup-node@v4
with:
token: ${{ inputs.token }}
check-latest: true
node-version-file: .nvmrc
cache: pnpm
- name: Install dependencies
shell: ${{ runner.os == 'Windows' && 'powershell' || 'bash' }}
env:
NODE_ENV: debug
GITHUB_TOKEN: ${{ inputs.token }}
run: pnpm install --frozen-lockfile