https://github.com/threeal/setup-pnpm-action
Set up standalone pnpm with a specified version in GitHub Actions
https://github.com/threeal/setup-pnpm-action
actions ci github-actions javascript nodejs pnpm typescript
Last synced: about 2 months ago
JSON representation
Set up standalone pnpm with a specified version in GitHub Actions
- Host: GitHub
- URL: https://github.com/threeal/setup-pnpm-action
- Owner: threeal
- License: mit
- Created: 2025-02-05T09:50:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-04-23T15:25:33.000Z (2 months ago)
- Last Synced: 2026-04-23T17:27:33.712Z (2 months ago)
- Topics: actions, ci, github-actions, javascript, nodejs, pnpm, typescript
- Language: TypeScript
- Homepage:
- Size: 174 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup Standalone pnpm Action
Set up standalone [pnpm](https://pnpm.io/) with a specified version in [GitHub Actions](https://github.com/features/actions).
This action installs the standalone version of pnpm from the [GitHub releases](https://github.com/pnpm/pnpm/releases) page, allowing pnpm to be used as both a package manager and a Node.js version manager (see [pnpm env](https://pnpm.io/cli/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:
```yaml
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](./LICENSE).
Copyright © 2025-2026 [Alfi Maulana](https://github.com/threeal)