This repository is a GitHub Action. This file provides context for coding agents such as Cursor, GitHub Copilot, Claude, or other automated assistants.
- Action entrypoint:
action.yml->dist/index.js - Source code:
src/(TypeScript) - Tests:
tests/(vitest) - Build output:
dist/(generated by ncc and committed)
- Node.js >= 20
- npm
npm installnpm run build(ncc build ->dist/)npm run test/npm run test:watchnpm run lintnpm run type-checkmake check(lint + type-check + tests)make build(install + build)
- Make changes in
src/and update/add tests as needed. - Do not edit
dist/by hand. Runnpm run buildto regenerate it. - Include
dist/changes in the same commit as the source changes. - Update
README.mdoraction.ymlif inputs/outputs or behavior change. - Keep
package-lock.jsonin sync when dependencies change.
- For logic changes, run at least
npm run test. - For full verification, run
make check. - Doc-only changes can skip tests unless requested.
- Releases are automated by
.github/workflows/release.yml. - The only manual step is approving and merging the
chore(main): release X.Y.ZPR. - Never create tags or releases by hand.