Skip to content

fix: only publish n8n nodes on version tags#44

Merged
tehw0lf merged 1 commit intomainfrom
fix/n8n-node-publish-tag-only
Mar 15, 2026
Merged

fix: only publish n8n nodes on version tags#44
tehw0lf merged 1 commit intomainfrom
fix/n8n-node-publish-tag-only

Conversation

@tehw0lf
Copy link
Owner

@tehw0lf tehw0lf commented Mar 15, 2026

Summary

  • @n8n/node-cli v0.23.0 changed behavior of n8n-node release in CI: it no longer bumps the version, only publishes
  • Version bump now happens locally via release-it, CI only publishes when triggered by a v*.*.* tag
  • Without this fix, the publish job fails on every push to main with npm error You cannot publish over the previously published versions

Changes

Added && startsWith(github.ref, 'refs/tags/v') to the if conditions of the three n8n-node steps (install @n8n/node-cli, install dependencies, publish n8n node).

n8n-node-cli v0.23.0 changed behavior: in CI, n8n-node release no longer
bumps the version, it only publishes. Version bump now happens locally via
release-it. Publishing on every push to main causes failures when the
version already exists on npm.
@tehw0lf tehw0lf merged commit 0c7e40d into main Mar 15, 2026
2 checks passed
@tehw0lf tehw0lf deleted the fix/n8n-node-publish-tag-only branch March 15, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant