{"repo":"cardinalby/github-action-ts-run-api","free":true,"listed":false,"github":"https://github.com/cardinalby/github-action-ts-run-api","clone":"git clone https://github.com/cardinalby/github-action-ts-run-api.git","description":"Library for GitHub Action integration testing","language":"TypeScript","stars":62,"topics":["actions","github-actions","test","test-automation","testing","testing-tools","integration-testing","typescript"],"license":"MIT","category":"dev-tools","readme_excerpt":"TypeScript API for GitHub Action execution and integration/functional testing Purpose 🔶 Execute your 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. Features ✅ 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 Setting up an action run option includes: Inputs. Can read default input values from action.yml Saved state Custom environment variables GitHub context GitHub service environment variables Faking GitHub service files (file commands, event payload file) Faking GitHub dirs (workflow, workspace, temp) Reading results of an action run includes: Reading exit code, stdout and stderr Reading outputs, saved state","default_branch":null,"files":null,"tree":[],"storefront":"/r/cardinalby","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cardinalby/github-action-ts-run-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}