This guide explains how to publish the EchoKit GitHub Action to the marketplace.
# Create a new public repository on GitHub
# Name: echokit-action
# URL: https://github.com/ravitejakamalapuram/echokit-action
# Clone it locally
git clone https://github.com/ravitejakamalapuram/echokit-action.git
cd echokit-action
Copy the following files from this directory to the new repository:
# From echokit/.github/ copy these files:
cp /path/to/echokit/.github/echokit-action.yml ./action.yml
cp /path/to/echokit/.github/ECHOKIT_ACTION_README.md ./README.md
cp /path/to/echokit/.github/EXAMPLE_USAGE.yml ./example-workflow.yml
git add action.yml README.md example-workflow.yml
git commit -m "feat: Initial EchoKit GitHub Action"
git push origin main
Create a v1 release for semantic versioning:
# Tag the release
git tag -a v1.0.0 -m "EchoKit Action v1.0.0"
git push origin v1.0.0
# Create the v1 major version tag (for users to reference @v1)
git tag -a v1 -m "EchoKit Action v1"
git push origin v1 --force # use --force to move the tag as you release v1.x updates
v1.0.0EchoKit Action v1.0.0🎉 First release of the EchoKit GitHub Action!
Run integration tests against EchoKit-recorded API mocks with:
- ✅ Automatic coverage tracking
- 📊 PR comments with coverage reports
- 🚀 Simple two-step setup (start/stop)
- 📝 JSON and Markdown report formats
See README for usage examples.
Create a test repository and add this workflow:
name: Test EchoKit Action
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ravitejakamalapuram/echokit-action@v1
with:
mocks-file: 'path/to/mocks.json'
When you make changes:
# Make your changes to action.yml
git add action.yml
git commit -m "feat: add new feature"
git push origin main
# Tag patch version
git tag -a v1.0.1 -m "EchoKit Action v1.0.1"
git push origin v1.0.1
# Move v1 tag to latest v1.x.x
git tag -a v1 -m "EchoKit Action v1" --force
git push origin v1 --force
# Create GitHub release from the new tag
Users should reference @v1 in their workflows to get automatic updates within the v1 major version.
Add this badge to your main EchoKit README:
[](https://github.com/marketplace/actions/echokit-mock-server)