fix(ci): Improve Gitea release workflow: install deps, configure Gitea npm registry, and optionally publish to npmjs.org

This commit is contained in:
2025-10-25 17:09:33 +00:00
parent 7d3c94cae6
commit d141ceeaf7
3 changed files with 23 additions and 1 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2025-10-25 - 4.3.3 - fix(ci)
Improve Gitea release workflow: install deps, configure Gitea npm registry, and optionally publish to npmjs.org
- Run npm install in the release job to ensure dependencies are available before publishing.
- Configure Gitea/npm registry using GITHUB_SERVER_URL and set auth token for the @<owner> scope.
- Publish to the Gitea npm registry during release.
- If NPMCI_TOKEN_NPM is provided, also publish to the public npmjs.org registry (conditional publish).
- Extract host from GITHUB_SERVER_URL to correctly set the registry auth URL.
## 2025-10-17 - 4.3.2 - fix(core)
Remove stray console.log from core module