Codacy pattern doc generator.
Since this is a GH action, all code must be self-contained and ready to be executed in one file.
All compiled files in dist
are therefore committed.
- Set environment variables:
cp .env.example .env
and edit the file - Install dependencies:
npm i
- Install compiler:
npm i -g @vercel/ncc
- Build:
npm run build
- Run locally:
npm run start
-
Add prompt files to the
prompts
folder.Prompts must be named
<order>-<name>.json
, where order is a number and name is a unique identifier.