DEVOPS

Nightly Lighthouse trend audit of latest Vercel preview into GitLab

On a nightly schedule, finds the most recent Vercel preview for the active branch, runs a multi-page Lighthouse audit, appends the scores to a tracked trend file in the repo.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNightly schedule
  • ActionResolve latest Vercel preview URLVercelVercel
  • ActionRun multi-page Lighthouse auditShell
  • ActionAppend record, compute rolling averageShell
  • ActionCommit trend file to GitLab repoGitLabGitLab
  • OutputSummarize scores vs rolling average

What it does

Provides a continuous, time-series view of preview quality rather than a per-commit gate. Each night it audits the latest preview across several key pages, records the scores, and commits the rolling history to the repository so trends are visible in GitLab.

When to use it

Use it alongside the per-MR gate when you want to spot slow erosion that no single MR triggers, or to produce weekly quality reports. Good for teams reporting QA health to stakeholders.

How it works

  1. 1A schedule trigger fires nightly.
  2. 2A Vercel action resolves the most recent preview deployment URL for the tracked branch.
  3. 3A shell step runs Lighthouse across the configured page set and emits a dated record.
  4. 4A shell step appends the record to the trend file and computes a rolling average.
  5. 5A GitLab action commits the updated trend file to the repo.
  6. 6The job outputs a short summary of last night's scores versus the rolling average.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect VercelDeploys, runtime logs, analytics.
  2. 2
    Connect ShellRun sandboxed commands inside the workspace.
  3. 3
    Connect GitLabRepos, MRs, pipelines, registry.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.