mirror of
https://github.com/hanzoui/node-diff.git
synced 2026-10-30 20:37:29 +00:00
main
- Updated copyright to Hanzo AI, Inc. - Replaced ComfyUI references with Hanzo Studio - Updated GitHub org URLs (Comfy-Org → hanzoui) - Updated domains (comfy.org → hanzo.ai) - Updated package names and npm scopes - Updated LICENSE with Hanzo AI copyright header
node-diff
A Github Action for diffing custom nodes.
Description
This action checks out your PR branch and your main branch and compares the custom nodes defined in NODE_CLASS_MAPPINGS for backwards incompatible changes.
This helps you develop custom nodes that don't break existing workflows.
Features
- Checks
RETURN_TYPES - Checks
INPUT_TYPES
Usage
Just add this to your custom node repo: .github/workflows/validate.yml
name: Validate backwards compatibility
on:
pull_request:
branches:
- master
- main
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: comfy-org/node-diff@main
If you use a branch other than main as your base branch, add that here:
steps:
- uses: comfy-org/node-diff@main
with:
base_ref: 'master'
Languages
Python
100%