Visitar URL original
Ignores version input · Issue #247 · pnpm/action-setup · GitHub
Skip to content

Ignores version input #247

Closed
Closed

Description

@pbrisbin

I have a project that started failing because the latest version of pnpm is installed, despite us specifying the version input directly:

Image

It's a composite action with the following steps:

    - id: pnpm
      uses: pnpm/action-setup@v6
      with:
        version: "10.33.2"
        dest: ${{ github.action_path }}/setup-pnpm

    - shell: bash
      run: |
        ${{ steps.pnpm.outputs.bin_dest }}/pnpm --version
        ${{ steps.pnpm.outputs.bin_dest }}/pnpm install
      working-directory: ${{ github.action_path }}

And there's no version in package.json, we expect the version input to be respected.

{
  "devDependencies": {
    "pajv": "^1.2.0"
  }
}

Project: https://github.com/freckle/datadog-service-action

PR with failures: freckle/datadog-service-action#24.

This is happening with @v6 of the action, @v5 always worked correctly in this regard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions