Detect Node Package Manager
Version updated for https://github.com/deividfortuna/detect-node-package-manager to version v1.0.0.
- This action is used across all versions by ? repositories.
Action Type
This is a Node action using Node version 24.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action identifies the Node.js package manager (npm, yarn, or pnpm) and version manager (nvm, nodenv, or n) used in a project by detecting associated lockfiles and version files. It automates the process of adapting workflows to the project’s package manager, enabling tasks like installing dependencies and configuring cache keys for actions/setup-node. Key capabilities include lockfile path detection, version file identification, and enforcing allowed managers through configurable restrictions.
What’s Changed
Full Changelog: https://github.com/deividfortuna/detect-node-package-manager/commits/v1.0.0