Closed g-ongenae closed 9 months ago
Fix token used during both publish on NPM and GitHub Packages.
My previous PR #821 to add dual publish didn't work as expected.
It actually does not publish to NPM anymore. I infer this is because the NODE_AUTH_TOKEN is not uses correctly by lerna during the publish.
To fix that, we define the token and registry to use in the .npmrc file.
.npmrc
This was the method used to publish only on NPM.
Description
Fix token used during both publish on NPM and GitHub Packages.
Motivation and Context
My previous PR #821 to add dual publish didn't work as expected.
It actually does not publish to NPM anymore. I infer this is because the NODE_AUTH_TOKEN is not uses correctly by lerna during the publish.
To fix that, we define the token and registry to use in the
.npmrc
file.This was the method used to publish only on NPM.
Types of changes