Skip to content

Scoped registries are duplicated  #615

Closed

Description

@AlexMeah

Description:

When scope is specified and a matching scoped registry exists in .npmrc the registry entry is duplicated.

Action version:
3.4.1

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
Node 14
NPM 6

Repro steps:
Add an .npmrc with @scope:registry=https://example.com/ and an action with registry: https://example2.com and scope: scope.

Expected behavior:
The scoped registry should be overwritten by the action config.

Actual behavior:
The registry is duplicated and the first entry takes precedence.

Related issues: #118, #87

PR: #616

Activity

  1. dmitry-shibanov commented on Oct 27, 2022

    @dmitry-shibanov
    Contributor

    Hello @AlexMeah. Thank you for your report. We'll investigate the issue.

  2. self-assigned this
    on Nov 10, 2022
  3. dsame commented on Dec 6, 2022

    @dsame
    Contributor

    Hello @AlexMeah i am closing the issue with this PR
    #637

    Feel free to reopen it or create another one in case if the problem still exists

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions