DevOps
How to Add Website Feature Benchmarks to Your CI/CD Pipeline
Lighthouse checks performance. ESLint checks code quality. But what checks whether your product still has the features your industry expects? BenchmarkHQ's GitHub Action fills that gap.
Setup in 2 Minutes
Create .github/workflows/benchmark.yml:
name: Benchmark Check
on: [pull_request]
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: abdur-rehman10/benchmarkhq@main
with:
industry: ecommerce_usa
features: search_bar,product_reviews,cart,checkout,wishlist
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
What Happens on Every PR
The action calls the BenchmarkHQ API, checks your features against the industry benchmark, and posts a formatted comment showing your score, missing critical features, and missing required features. If a deploy accidentally removes a critical feature, you'll know before it reaches production.
Use Cases
- E-commerce — verify cart, checkout, and search exist on every deploy
- SaaS — check that pricing page, free trial flow, and security badges are present
- News sites — ensure article structure, share buttons, and accessibility remain intact
- Agency clients — automated audit reports on every deployment