Update release workflow: support main, enable manual dispatch, generate .releaserc.json, use Node 20#7
Conversation
💡 Codex ReviewWith the install step still pulling unpinned ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Motivation
mainand allow manual triggers viaworkflow_dispatch.20) and avoid creating/updating a localpackage.jsonby installing packages with--no-save.semantic-releaseconfiguration into a generated.releaserc.jsonand remove unnecessary@semantic-release/gitusage.Description
mainto thepush.brancheslist and enabledworkflow_dispatchto allow manual runs.node-version: '20'and changed the install step tonpm install --no-saveinstead of initializing a package withnpm init -y..releaserc.jsonwithbranches,repositoryUrl, and thesemantic-releaseplugins, and removed@semantic-release/gitfrom the installed plugins list.actions/checkout@v4withfetch-depth: 0and retained thenpx semantic-releaseexecution using theGITHUB_TOKENenvironment variable.Testing
Codex Task