Introduction
When making changes to custom nodes, it’s not uncommon to break things in Comfy or other custom nodes. It is often unrealistic to test on every operating system and different configurations of Pytorch.Run Comfy Workflows using Github Actions
Comfy-Action allows you to run a Comfy workflow.json file on Github Actions. It supports downloading models, custom nodes, and runs on Linux/Mac/Windows.Results
Output files are uploaded to the CI/CD Dashboard and can be viewed as a last step before committing new changes or publishing new versions of the custom node.
Publish versions from GitHub Actions
Publish Node Action publishes the version in yourpyproject.toml to the Registry, so bumping the version is all it takes to release. Add your Registry access token as a repository secret named REGISTRY_ACCESS_TOKEN in Settings > Secrets and variables > Actions, then add this workflow:
The published version is the
version field in pyproject.toml. Update it before the workflow runs.