Skip to content

chore: improve release workflow and bump node version to v24#147

Merged
Himenon merged 6 commits intomainfrom
fix/release-npm-registry
May 6, 2026
Merged

chore: improve release workflow and bump node version to v24#147
Himenon merged 6 commits intomainfrom
fix/release-npm-registry

Conversation

@Himenon
Copy link
Copy Markdown
Owner

@Himenon Himenon commented May 6, 2026

Summary

This PR improves the release workflow and updates the project's Node.js requirements.

Key Changes

  • OIDC (Trusted Publisher) Support: Migrated npm release authentication from static NPM_TOKEN to OIDC for better security.
  • Node.js v24 Support:
    • Bumped minimum Node.js version in package.json (engines.node) to >=24.0.0.
    • Updated all GitHub Actions workflows (build.yml, release.yml, versionUp.yml) to use Node.js 24.x.
  • Workflow Reliability:
    • Removed explicit ref: main from checkout steps in release.yml and versionUp.yml to ensure Actions use the correct tag/branch context during execution.

Impact

  • Security: No longer dependent on long-lived npm tokens in GitHub Secrets.
  • Modernization: Aligned the project with the current Node.js LTS (v24).
  • Correctness: Fixed an issue where releases were always based on the main branch instead of the intended tag.

@Himenon Himenon merged commit 1e6d988 into main May 6, 2026
2 checks passed
@Himenon Himenon deleted the fix/release-npm-registry branch May 6, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant