Skip to content

[FEATURE] Provide credentials to npm trough environment variables #290

Closed
@Kuinox

Description

@Kuinox

What / Why

Today the only way to give npm the PAT to push packages is to add the PAT in the .npmrc.
In order to authenticate, our CI must inject the credentials in the .npmrc, then revert the change when the operation is done.
It would be far better if we could give credentials to npm directly via environment variables, so we can stop using this "workaround".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancementnew feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions