To start the developement for the first time, execute pnpm start
and follow the steps here. This should generate a .env
file containing sensitive information.
# Install dependencies
pnpm install
# Login to vercel
pnpm vercel:link
# Pull vercel env variables
pnpm vercel:env
# Run the bot
pnpm start
# Deploy the bot
pnpm vercel:deploy OR it is automatically deployed on push to `main` branch
To simulate Github Webhooks on local/dev environment, please look at this.
-
To simulate
workflow_run.completed
, copy the payload and paste it in the file at the pathtest/fixtures/workflow_run.completed.json
. -
Now debug the app or press
F5
.