Add GitHub workflows
add_workflowsGenerate GitHub Actions CI and release workflows to automate lint, build, test, and publishing via OIDC trusted publishing for npm, PyPI, or crates.io projects.
Instructions
Write .github/workflows/ci.yml (install, lint, build, test on push and PR) and optionally release.yml (on v* tags: test, build, publish with trusted publishing via OIDC — skipped if the version exists — then a GitHub release from the CHANGELOG). Existing files are kept unless overwrite is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Project folder (absolute path, or relative to the server's working directory). | |
| release | No | registry: publish + GitHub release; github-only: just a GitHub release. | registry |
| registry | No | Omit for a repo-only project. | |
| overwrite | No |