Skip to content

feat(lighthouse): force push lhci badges #3

feat(lighthouse): force push lhci badges

feat(lighthouse): force push lhci badges #3

Workflow file for this run

name: Generate Lighthouse Badges
on:
push:
branches:
- main
jobs:
generate-lighthouse-badges:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Run Lighthouse and generate badges
run: |
make lighthouse-badges
- name: Push badges to repo
run: |
git config --global user.name "GitHub Action - teomrd"
git config --global user.email "[email protected]"
git add ./docs/lighthouse
git commit -m "Update Lighthouse badges"
git push --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}