The npmrc configuration is not used for postUpgradeTasks #14897
Unanswered
cascornelissen
asked this question in
Request Help
Replies: 1 comment 5 replies
-
|
Renovate intentionally modifies the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have the following global Renovate configuration used in a self-hosted setup on Bitbucket Server/Bamboo. Renovate version at the time of testing is
32.10.3.As an example, our shared base configuration JSON contains a packageRule that looks like the following. The goal is to automatically try to fix any linting issues that are introduced in new versions.
These dependencies should be fetched from
<artifactory-url>which works correctly when updating the dependencies themselves but as soon as thenpm ci --ignore-scriptspostUpgradeTask kicks in it doesn't take thenpmrcfrom the global configuration into account. Instead, it tries to connect to the official/default npm registry and returns 401s.Is there any way to re-use the
npmrcglobal configuration value to set up an npmrc file for the postUpgradeTasks? Or any other way around this? I noticed and read through #14446 but there hasn't been any comments on it for a month and I'm not 100% sure it's the exact same issue/solution.Beta Was this translation helpful? Give feedback.
All reactions