Skip to content

update: readme logs

update: readme logs #2

Workflow file for this run

name: Lighthouse CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Run Lighthouse CI
run: npx lhci autorun
- name: Update README with Lighthouse scores
run: node update-readme.js
- name: Commit updated README
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
git commit -m "Update Lighthouse scores"
git push