Release publish workflow dependency fix
The release publish workflow was crashing in the 1.x branch because script dependencies weren't installed before the check ran. A missing install step has been added to prevent the crash.
The release publish workflow was crashing in the 1.x branch. When the workflow tried to check for unpublished packages, it failed because the required script dependencies weren't installed first.
A new step has been added to the workflow that runs pnpm install against the .github/scripts directory before the package check executes. The install uses --frozen-lockfile and --ignore-workspace flags to install dependencies without affecting the broader monorepo.
This issue went undetected in master because the @codecov/vite-plugin was installing those dependencies as a side effect, masking the missing setup step. In the 1.x branch, without that plugin present, the crash surfaced.
The workflow can now complete the package check reliably across branches.
View Original GitHub 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, orBackport to v1(if the PR is an urgent fix that needs to be backported)