All files are ready at: /tmp/echokit-action/
Files included:
action.yml - The GitHub Action definitionREADME.md - DocumentationLICENSE - MIT License.git/ - Git repository (initialized and committed)echokit-actionGitHub Action for running EchoKit mock server in CI/CD with coverage trackingAfter creating the repository, run these commands:
cd /tmp/echokit-action
git remote add origin https://github.com/ravitejakamalapuram/echokit-action.git
git branch -M main
git push -u origin main
cd /tmp/echokit-action
git tag -a v1.0.0 -m "Release v1.0.0 - Initial EchoKit GitHub Action"
git push origin v1.0.0
git tag v1 -f
git push origin v1 -f
The v1 tag is important - it allows users to reference @v1 in their workflows.
v1.0.0v1.0.0 - Initial Release## Features
- Start/stop EchoKit mock server in GitHub Actions
- Automatic coverage tracking
- PR coverage comments with detailed breakdown
- Strict mode to fail on unmatched requests
- JSON and markdown report formats
- Zero-config - just point to your EchoKit export JSON
## Usage
See README.md for examples.
## Related
- EchoKit Extension: https://github.com/ravitejakamalapuram/echokit
- echokit-server: https://www.npmjs.com/package/echokit-server
The action will be live at:
uses: ravitejakamalapuram/echokit-action@v1Users can now add this to their workflows:
- uses: ravitejakamalapuram/echokit-action@v1
with:
mocks-file: tests/fixtures/echokit-export.json