ci: enable trusted publishing
<!-- ELLIPSIS_HIDDEN -->
> [!IMPORTANT]
> Upgrade npm and remove unused environment variables in `release.yml` for improved release workflow.
>
> - **Workflow Changes**:
> - Add step to upgrade npm to latest version in `release.yml`.
> - Remove `NPM_CONFIG_PROVENANCE` and `NPM_TOKEN` environment variables from `release.yml`.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=prettier%2Feslint-config-prettier&utm_source=github&utm_medium=referral)<sup> for d09acdffbd6cb6e2edbb3ed49d8a89686780be86. You can [customize](https://app.ellipsis.dev/prettier/settings/summaries) this summary. It will automatically update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Chores**
* Upgraded the package manager used in release automation to the latest version to improve build compatibility and stability.
* Streamlined publishing configuration by removing redundant environment settings to reduce friction during releases.
* No user-facing changes; this update only impacts internal release infrastructure.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
合并状态:已合并 合并于 2025-08-22 关闭于 2025-08-22 3 条评论