Thank you for your interest in contributing! Here are some guidelines to help you get started.
-
Fork and clone the repository
git clone https://github.com/YOUR_USERNAME/explore-openapi-snapshot.git cd explore-openapi-snapshot -
Install dependencies
npm install
-
Make your changes
- Write code in the
src/directory - Add tests in
src/__tests__/ - Update documentation if needed
- Write code in the
-
Run quality checks
npm run lint # Run linter npm run typecheck # Type check npm test # Run tests npm run build # Build the action
- We use oxlint for linting
- TypeScript strict mode is enabled
- Follow existing code patterns
- Add tests for new features
- Write tests using Vitest
- Place tests in
src/__tests__/ - Run tests with
npm test - Aim for good test coverage
- The action is built with tsdown
- Run
npm run buildto create the distribution - Important: Commit the
dist/folder with your changes - GitHub Actions runs from the built
dist/index.jsfile
- Create a feature branch
- Make your changes
- Run all quality checks
- Build the action (
npm run build) - Commit all changes including
dist/ - Open a pull request
Feel free to open an issue if you have questions or need help!