fix(ci): Fix Gitea workflow publish invocation to run npm publish via npmci command
This commit is contained in:
@@ -96,7 +96,7 @@ jobs:
|
||||
npmci command npm config set @${GITHUB_REPOSITORY_OWNER}:registry "$GITEA_REGISTRY"
|
||||
npmci command npm config set "//${GITEA_HOST}/api/packages/${GITHUB_REPOSITORY_OWNER}/npm/:_authToken" "$GITEA_TOKEN"
|
||||
# Publish to Gitea
|
||||
npmci npm publish
|
||||
npmci command npm publish
|
||||
# Conditionally publish to npmjs.org if token exists
|
||||
if [ -n "$NPMCI_TOKEN_NPM" ]; then
|
||||
npmci command npm config set registry https://registry.npmjs.org
|
||||
|
||||
Reference in New Issue
Block a user