An open API service indexing awesome lists of open source software.

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

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)