kentaro-m / lighthouse-auditing-sheet

A job which audits a page using Google Lighthouse and write results to Google Spreadsheets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lighthouse-auditing-sheet

A job which audits a page using Google Lighthouse and write results to Google Spreadsheets.

▶️ Usage

Setup environment variables

Add some environment variables to .env file.

  • TARGET_URL A URL of auditing target page
  • SPREAD_SHEET_ID A ID of Google Spreadsheets
  • GCLOUD_PROJECT A ID of Google Cloud Project
  • GOOGLE_APPLICATION_CREDENTIALS A file path for credential of service accounts

Install dependencies

$ npm install

Run a job

$ npm run build
$ npm start

Development

$ npm run dev

📝 Licence

MIT

About

A job which audits a page using Google Lighthouse and write results to Google Spreadsheets.

License:MIT License


Languages

Language:TypeScript 99.9%Language:Dockerfile 0.1%