Skip to content

Commit

Permalink
fix(ci): auth for the dist-dynamic npm publish (janus-idp#1010)
Browse files Browse the repository at this point in the history
fix(ci): auth for the `dist-dynamic` npm publish

explicitly specify the npms registry,
to avoid it to be changed to the https://registry.yarnpkg.com/ one
by default inside the yarn release process.

Signed-off-by: David Festal <[email protected]>
  • Loading branch information
davidfestal authored Dec 7, 2023
1 parent 34651aa commit 37ddc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
[
"@semantic-release/exec",
{
"successCmd": "if [ -d 'dist-dynamic' ]; then echo 'publishing backend derived package ...' && cd dist-dynamic && npm publish --ignore-scripts --access public ; fi"
"successCmd": "if [ -d 'dist-dynamic' ]; then echo 'publishing backend derived package ...' && cd dist-dynamic && npm publish --registry https://registry.npmjs.org/ --ignore-scripts --access public ; fi"
}
]
]
Expand Down

0 comments on commit 37ddc47

Please sign in to comment.