Skip to content

feat: lighthouse ci pipeline #15

feat: lighthouse ci pipeline

feat: lighthouse ci pipeline #15

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
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v7
with:
urls: http://localhost:3000
budgetPath: ./budget.json
uploadArtifacts: true # save results as an action artifacts
temporaryPublicStorage: true # upload lighthouse audits to google temporary storage