+[5 years ago]drleviathanoh 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 +[5 years ago]drleviathanif you want the NPM_TOKEN environment variable to work for ALL runs in that step then add it as an env higher up. +[5 years ago]drleviathaner... from one step to the next +[5 years ago]drleviathanI'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 +[5 years ago]mazulaI created the .npmrc at the root of my . projet directly, now I need to find how I can pass the variable
+[5 years ago]mazulaI have //registry.npmjs.org/:_authToken=${NPM_TOKEN} in the .npmrc file +[5 years ago]mazulawith https://gist.github.com/minas-tirith/835ea39609ce9377008923ebfe87ab1e#file-app-yml-L28 +[5 years ago]drleviathanso... try this: move the env section up to be part of the whole job, not just for the step +[5 years ago]drleviathanjobs.build.env +[5 years ago]mazulalike that? https://gist.github.com/minas-tirith/835ea39609ce9377008923ebfe87ab1e#file-app-yml-L19