Skip to content

ci(deps): bump the actions group across 1 directory with 9 updates #51

ci(deps): bump the actions group across 1 directory with 9 updates

ci(deps): bump the actions group across 1 directory with 9 updates #51

Workflow file for this run

name: Lighthouse
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
lhci:
name: Lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build
- name: Run Lighthouse CI
# Reads lighthouserc.json: starts `next start`, runs 3 audits,
# asserts a11y=1 (error), perf/best-practices/seo>=0.9 (warn),
# CLS<=0.1 (error). Fails the job on any error-level miss.
run: npx --yes @lhci/cli@0.14.x autorun --config=./lighthouserc.json
env:
LHCI_BUILD_CONTEXT__CURRENT_HASH: ${{ github.sha }}