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_DEBUG
value:true
- Ensure the action has run once after you created this secret
Developing
- Fork & Clone the development repository
- Continue from step 4 of
Running Locally
then return to step 5 & 6. - Make changes, then rebuild using
npm run dev:run
oryarn 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 install
ornpm install
- From the action logs find
Context for local running
copy the output into a file named./context.json
at the root of the project. - Modify the
./config.sample.json
to contain yourGITHUB_TOKEN
and rename to./config.json
- Run the script using
yarn dev:run
ornpm run dev:run