chore: remove axios dependency, use native fetch, add CI#33
Conversation
- Replace axios with native fetch in test steps (Node 18+) - Remove axios from devDependencies and example dependencies - Remove tracked package-lock.json from example/ (already in gitignore) - Add GitHub Actions workflow to run tests on Node 18, 20, 22
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f671f9f193
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Nice cleanup — One small suggestion before merging: since native "engines": {
"node": ">=18"
}I've prepared the change on One other minor thought (non-blocking): Generated by Claude Code |
Summary
axioswith nativefetchin test steps — axios was only used for a single GET request in cucumber testsaxiosfromdevDependenciesandexample/dependenciesexample/package-lock.json(already covered by.gitignore)Motivation
axiosis an unnecessary dependency here. Node 18+ provides globalfetchnatively, which handles the simple GET request in the test suite. This reduces the dependency footprint for contributors.Test plan