+ [2020-04-07T23:52:39Z] drleviathan oh btw mazula, I think I read somewhere: each run of the step has a different shell process, so environment variables don't persist from one run to the next
+ [2020-04-07T23:53:44Z] drleviathan if you want the NPM_TOKEN environment variable to work for ALL runs in that step then add it as an env higher up.
+ [2020-04-07T23:54:45Z] drleviathan er... from one step to the next
+ [2020-04-07T23:59:15Z] drleviathan I'm not 100% certain. You could test with a "echo $NPM_TOKEN | md5sum" in the docker run to see if you get the right hash
+ [2020-04-07T23:59:58Z] mazula I created the .npmrc at the root of my . projet directly, now I need to find how I can pass the variable

message no. 178981

Posted by neoclust in #github at 2020-04-07T08:03:57Z

hi
+ [2020-04-08T00:00:12Z] mazula I have //registry.npmjs.org/:_authToken=${NPM_TOKEN} in the .npmrc file
+ [2020-04-08T00:00:49Z] mazula with https://gist.github.com/minas-tirith/835ea39609ce9377008923ebfe87ab1e#file-app-yml-L28
+ [2020-04-08T00:03:47Z] drleviathan so... try this: move the env section up to be part of the whole job, not just for the step
+ [2020-04-08T00:04:30Z] mazula like that? https://gist.github.com/minas-tirith/835ea39609ce9377008923ebfe87ab1e#file-app-yml-L19