Add n8n node release workflow with npm provenance#17
Open
Conversation
Prepare the n8n community node for publishing to npm by adding: - Release workflow (ai-sdk-release-n8n.yml) with OIDC-based provenance publishing, triggered by n8n-v* tags or workflow_call - n8n release job in the main release workflow, sequenced after the TypeScript SDK to ensure the dependency is available on npm - @n8n/node-cli devDependency (required for n8n verified node process) - Package metadata: author field, repository directory for monorepo - CI updated to use --legacy-peer-deps for @n8n/node-cli compatibility Closes #498 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Address n8n verification requirements based on real review feedback: - Use NodeConnectionTypes.Main instead of string literals - Add usableAsTool: true for AI agent workflow compatibility - Add icon to credential class with dedicated credential icon - Create codex metadata (AISdkAgent.node.json) with categories and aliases - End all description fields with period (n8n style requirement) - Fix continueOnFail() to use NodeApiError.message consistently - Update build script to copy credential icons and codex to dist/ - Add @n8n/scan-community-package to CI and post-publish verification Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ai-sdk-release-n8n.yml) for publishing the n8n community node to npm with--provenanceflag via OIDC trusted publishing, triggered byn8n-v*tags orworkflow_call@openmetadata/ai-sdkdependency is available on npm@n8n/node-clias devDependency (required for n8n verified node process) and update CI to handle the eslint peer dependency conflict with--legacy-peer-depsauthor,repository.directory) for proper npm listingCloses #498
Test plan
make check-versionsstill passesmake tag-n8n+ push tagai-sdk-release-n8n.yml