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 @${GITHUB_REPOSITORY_OWNER}:registry "$GITEA_REGISTRY"
|
||||||
npmci command npm config set "//${GITEA_HOST}/api/packages/${GITHUB_REPOSITORY_OWNER}/npm/:_authToken" "$GITEA_TOKEN"
|
npmci command npm config set "//${GITEA_HOST}/api/packages/${GITHUB_REPOSITORY_OWNER}/npm/:_authToken" "$GITEA_TOKEN"
|
||||||
# Publish to Gitea
|
# Publish to Gitea
|
||||||
npmci npm publish
|
npmci command npm publish
|
||||||
# Conditionally publish to npmjs.org if token exists
|
# Conditionally publish to npmjs.org if token exists
|
||||||
if [ -n "$NPMCI_TOKEN_NPM" ]; then
|
if [ -n "$NPMCI_TOKEN_NPM" ]; then
|
||||||
npmci command npm config set registry https://registry.npmjs.org
|
npmci command npm config set registry https://registry.npmjs.org
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-10-25 - 4.3.4 - fix(ci)
|
||||||
|
Fix Gitea workflow publish invocation to run npm publish via npmci command
|
||||||
|
|
||||||
|
- Update .gitea/workflows/default_tags.yaml to use 'npmci command npm publish' for the publish step
|
||||||
|
- Ensures the workflow runs npm publish through the npmci command wrapper to avoid incorrect task invocation
|
||||||
|
|
||||||
## 2025-10-25 - 4.3.3 - fix(ci)
|
## 2025-10-25 - 4.3.3 - fix(ci)
|
||||||
Improve Gitea release workflow: install deps, configure Gitea npm registry, and optionally publish to npmjs.org
|
Improve Gitea release workflow: install deps, configure Gitea npm registry, and optionally publish to npmjs.org
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartrequest',
|
name: '@push.rocks/smartrequest',
|
||||||
version: '4.3.3',
|
version: '4.3.4',
|
||||||
description: 'A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.'
|
description: 'A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user