Skip to content

threeal/setup-pnpm-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Setup Standalone pnpm Action

A GitHub Action that downloads and sets up standalone pnpm on the runner.

Usage

- name: Setup pnpm
  uses: threeal/setup-pnpm-action@v2.0.0

Inputs

Name Description
version The version or tag of pnpm to install.
version-file A file specifying the version of pnpm to install. Supports package.json with a packageManager field.

version and version-file are mutually exclusive. If neither is set, the version is read from package.json in the current directory if available, otherwise the latest version is installed.

Outputs

Name Description
version The version of pnpm that was installed.

Example

- name: Setup pnpm
  uses: threeal/setup-pnpm-action@v2.0.0
  with:
    version: 11.5.0

- name: Check pnpm
  run: pnpm --version

License

This project is licensed under the MIT License.

Copyright © 2025-2026 Alfi Maulana

About

Set up pnpm in GitHub Actions

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Generated from threeal/action-starter