Run a lighthouse audit of your website through mesg, triggered by webhook by your favorite CI.
Deploy the necessary services:
mesg-core service deploy https://github.com/eisenbergrobin/mesg-lighthouse
mesg-core service deploy https://github.com/eisenbergrobin/mesg-http
mesg-core service deploy https://github.com/mesg-foundation/service-webhook
Start the application:
node index.js
Request a lighthouse audit of https://mesg.com
:
curl -X POST \
http://localhost:3000/webhook \
-H 'Content-Type: application/json' \
-d '{ "task": "lighthouse", "url": "https://mesg.com" }'
View the results:
open http://localhost:8080/report-mesg-com