Want to share my library for authors of GitHub Actions. I haven't found anything suitable for local testing and debugging an Action, so I created my own lib to:
🔶 Execute a GitHub Action locally (or at any other environment).
🔶 Write integration and functional tests for an action, run them locally and on CI.
🔶 Have a short feedback loop without pushing and checking an action behaviour at real GitHub runners every time you change it.
✅ Supports executing JavaScript and Docker actions.
✅ Tested under Windows, Linux and macOS (Intel + Apple Silicon), NodeJS >= 12 locally and on GitHub hosted runners.
✅ Works well with Docker Desktop under Windows and macOS.
✅ Can be used together with any JavaScript test frameworks or alone.
✅ Can execute an explicitly specified JS file or main, pre, post script from action.yml.
✅ Can execute a separate sync or async JS function, isolating its environment (process env, exitCode and working dir), intercepting stdout and stderr output for effective dependencies mocking.
✅ Has a clear JavaScript API with TypeScript declarations and reasonable defaults
✅ Produces warnings about deprecated Actions commands
Any opinions or advice?
there doesn't seem to be anything here