Skip to content

Deprecations and warnings in release job #286

@MikeMcC399

Description

@MikeMcC399

Current behavior

When the release job of the workflow .github/workflows/validate.yml runs, the logs show deprecations and warnings:


npm warn publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository.url" was normalized to "git+https://github.com/testing-library/cypress-testing-library.git"


Edit: fixed

The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/


Edit: fixed

[@octokit/request] "GET https://api.github.com/search/issues?q=repo%3Atesting-library%2Fcypress-testing-library+type%3Apr+is%3Amerged+e6ac1355982eb46508da4e2954213b7d274475a3" is deprecated. It is scheduled to be removed on Thu, 04 Sep 2025 00:00:00 GMT. See https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/

Desired behavior

There should be no deprecations and warnings in the logs of the the release job of the workflow .github/workflows/validate.yml

Suggested resolution

  1. Run npm pkg fix and commit fix
  2. Update from cycjimmy/semantic-release-action@v2 to cycjimmy/semantic-release-action@v5 (current latest)
  3. Update from semantic-release@17 to semantic-release@24 (current latest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions