vercel/next.js - GitHub Actions cost & CI smells
Workflows
37
Per-run $ (modeled)
$4.10
Monthly $ @ 30/day
$3,686.4
ci-doctor findings
166
Numbers are modeled: 8 minutes per priced job, 30 runs per day per workflow, 30-day month, GitHub-hosted runner rate sheet. vercel/next.js's real run frequency is unknown to me. Smells, however, are real - they come from parsing the actual YAML.
Findings by rule
| Rule | Hits |
|---|---|
missing-timeout | 56 |
missing-cache | 30 |
missing-permissions | 28 |
matrix-overcommit | 20 |
deprecated-action | 17 |
artifact-no-retention | 11 |
fail-fast-true | 1 |
pinned-action-sha | 1 |
Per-workflow breakdown
Examples of what ci-doctor reports
build_and_deploy.yml ·
WARN
missing-cacheactions/setup-node has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.
build_and_deploy.yml ·
WARN
missing-cacheactions/setup-node has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.
build_and_deploy.yml ·
WARN
missing-cacheactions/setup-node has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.
test_e2e_deploy_release.yml ·
WARN
missing-cacheactions/setup-node has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.
test_e2e_deploy_release.yml ·
WARN
missing-cacheactions/setup-node has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.
test_e2e_deploy_release.yml ·
WARN
missing-timeoutJob 'setup' has no timeout-minutes. Default is 360 (6h). A hung job can drain your CI budget.
What you can do
If you maintain vercel/next.js or a similar workflow shape, three patterns probably move the most dollars per minute of work:
- Add a
concurrency:block withcancel-in-progress: trueon every PR-triggered workflow. - Set
timeout-minuteson every job (default is 6 hours). - Make sure every
setup-*action setscache: <ecosystem>.
Free CLIs that automate the audit and the pin step:
npx ci-doctor # 14-rule audit
npx ci-doctor --fix # auto-apply the four safe fixes
npx pin-actions # pin every uses: ref to a SHA
npx gha-budget # estimate per-run $ + monthly
Want the full pattern set?
The Cut Your CI Bill cookbook is 30 paste-ready GitHub Actions patterns plus 5 hardened workflow templates. $19, one-time, MIT-licensed templates.
Get the cookbookAbout this dataset
Methodology and code: /blog/oss-ci-cost-benchmarks.html. Compare with all 20 repos: /benchmarks.html. This page is regenerated when the benchmark dataset is refreshed.