Update `semantic-release` to version supporting Trusted Publishing
What would you like?
Update CI to a version of semantic-release that supports npm Trusted Publishing.
Why is this needed?
-
The Cypress.io team desires to migrate to npm Trusted Publishing, as specified in issue https://github.com/cypress-io/github-action/issues/1558.
-
The CI workflow .github/workflows/main.yml in the
releasejob uses [email protected], released on Feb 15, 2025. -
[email protected], released on Oct 19, 2025, is the first version to support Trusted Publishing.
Other
- [email protected] introduced minimum Node.js versions:
"node": "^22.14.0 || >= 24.10.0"
- [x] This requires resolution of issue https://github.com/cypress-io/github-action/issues/1563, since
cycjimmy/semantic-release-actioncurrently runs.using the incompatiblenode20version.
[email protected] updated to [email protected], which is now deprecated, so that installing this version and higher versions of semantic-release including [email protected] causes a deprecation warning:
npm warn deprecated [email protected]: Deprecated as the semver package now supports this built-in.
- This issue is tracked through https://github.com/semantic-release/semantic-release/issues/3887