Skip to content

Scoped registries are duplicated  #615

@AlexMeah

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

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