Skip to content

Unlighthouse

Unlighthouse #1303

Workflow file for this run

name: Unlighthouse
on: deployment_status
jobs:
unlighthouse:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- run: npm install -g @unlighthouse/cli puppeteer
- run: npm list -g @unlighthouse/cli
- run: unlighthouse-ci --site ${{ github.event.deployment_status.environment_url }}
- uses: actions/upload-artifact@v4
if: always()
with:
path: ./.unlighthouse/
include-hidden-files: true