Skip to content

feat: lighthouse ci pipeline #26

feat: lighthouse ci pipeline

feat: lighthouse ci pipeline #26

Workflow file for this run

name: CI
on:
pull_request:
branches:
- "**"
jobs:
lhci:
name: Lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
# - name: Install dependencies
# run: |
# npm install
# npm run build
# - name: run Lighthouse CI for the Application
# run: |
# npm install -g @lhci/[email protected]
# lhci autorun --config=lighthouserc.json || echo "LHCI failed!"
# - name: run Lighthouse CI for Keploy.io Deployed Website
# run: |
# npm install -g @lhci/[email protected]
# lhci autorun --config=lighthouserckeploy.json || echo "LHCI failed!"
- name: Compare Lighthouse Reports
run: |
node scripts/compare-lhci-reports.js