Skip to content
TEMPLATE · YAML · 5 KB

GitHub Actions CI/CD template · Next.js SaaS

4-job CI template (lint + test + build + deploy) with matrix build, caching, preview deploy. MIT.

GitHub Actions workflow for a Next.js SaaS · per-PR lint + test + build + preview deploy, main-push prod deploy, cached node_modules, Playwright E2E on the preview. MIT.

WHAT'S INSIDE

  • ·4-job pipeline · lint / test / build / deploy
  • ·node_modules + Turbopack cache
  • ·Matrix build: Node 20 + 22
  • ·Preview deploy per PR on Vercel
  • ·Playwright E2E against the preview URL

Want a custom version?

A tailored audit or template delivered in 2 weeks · DField Solutions, Budapest.

Get a quote