Skip to content

A GitHub Action to get which package manager you're using (yarn or pnpm or npm)

License

Notifications You must be signed in to change notification settings

wow-actions/get-package-manager

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

get-package-manager

Get which package manager you're using (yarn or pnpm or npm)

Usage

Create .github/workflows/get-package-manager.yml in the default branch:

steps:
  - uses: actions/checkout@v3
  - uses: wow-actions/get-package-manager@v1
    id: getpm
  - run: |
    echo "Package manager in use: ${{ steps.getpm.outputs.pm }}"

License

The scripts and documentation in this project are released under the MIT License.

About

A GitHub Action to get which package manager you're using (yarn or pnpm or npm)

Resources

License

Code of conduct

Stars

Watchers

Forks