Running Locally
Running Locally & Developing
Setting up local running is simple, however we MUST warn that building / packaging while using local scripts can cause your GITHUB_TOKEN to be included within the package. To avoid this happening. you MUST follow the steps correctly. We will not be held responsible for any leeked personal tokens.
Prerequisities
- Setup a secret on your repository named:
ACTIONS_STEP_DEBUGvalue:true - Ensure the action has run once after you created this secret
Developing
- Fork & Clone the development repository
- Continue from step 4 of
Running Locallythen return to step 5 & 6. - Make changes, then rebuild using
npm run dev:runoryarn dev:run - If uploading changes to Github
- Delete
./context.json,./config,./lib,./dist. - Run
yarn dev:all. - Commit & push.
- Delete
Running locally
- Fork & Clone this repository
- Run
yarn installornpm install - From the action logs find
Context for local runningcopy the output into a file named./context.jsonat the root of the project. - Modify the
./config.sample.jsonto contain yourGITHUB_TOKENand rename to./config.json - Run the script using
yarn dev:runornpm run dev:run