Merged
Size
XS
Change Breakdown
CI/CD60%
Bug Fix40%
#28114ci: Install script dependencies before detecting new packages (backport to 1.x)

Release workflow now installs script dependencies first

The release publishing workflow now installs its script dependencies before attempting to detect new packages, preventing crashes on the 1.x branch.

The release publishing workflow was missing a step that installed script dependencies before checking for new packages. In the master branch, this worked accidentally because @codecov/vite-plugin was installed and made the dependencies available transiently. However, since that plugin is not present in the 1.x branch, the workflow crashed there. Three lines have been added to the workflow file to ensure the necessary dependencies are installed upfront, making the release process reliable across both branches.

View Original GitHub Description

Description

Backport of #28112 to 1.x.

Checklist for the author (@Matsuuu) to go through.

  • Review the backport changes
  • Fix possible conflicts
  • Merge to target branch

After this PR has been merged, it will be picked up in the next patch release for release track.

Original description

Summary

There was a missing step in the workflow files checking for new npm packages. This was not caught in master due to @codecov/vite-plugin installing them to the monorepo and transiently allowing us to utilize them.

However since this plugin isn't present in 1.x, it causes crashes there.

Related Linear tickets, Github issues, and Community forum posts

https://github.com/n8n-io/n8n/actions/runs/24073164984/job/70215011912

Review / Merge checklist

  • PR title and summary are descriptive. (conventions) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** -->
  • Docs updated or follow-up ticket created.
  • Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. -->
  • PR Labeled with Backport to Beta, Backport to Stable, or Backport to v1 (if the PR is an urgent fix that needs to be backported)
© 2026 · via Gitpulse