Set up standalone pnpm with a specified version in GitHub Actions.
This action installs the standalone version of pnpm from the GitHub releases page, allowing pnpm to be used as both a package manager and a Node.js version manager (see pnpm env).
Available Inputs
The following input parameters are available for this action:
| Name | Type | Description |
|---|---|---|
version |
Version number or tag | The pnpm version to install (defaults to latest). |
Example Usage
Here's a basic example of how to use this action to set up the latest version of standalone pnpm in a GitHub Actions workflow:
name: CI on: push: jobs: build: name: Build Project runs-on: ubuntu-24.04 steps: - name: Checkout Project uses: actions/checkout@v4.2.2 - name: Setup pnpm uses: threeal/setup-pnpm-action@v1.0.0 - name: Check pnpm run: pnpm --version
License
This project is licensed under the terms of the MIT License.
Copyright © 2025-2026 Alfi Maulana