Stack

GitHub Actions runners for Next.js

Next.js build + type-check + page rendering on a default GitHub-hosted runner makes large apps unusably slow in CI. Cirun runs your Next.js CI on a right-sized cloud VM on your own account — pick AWS, GCP, Azure, Oracle, DigitalOcean, OpenStack or on-prem, billed by your cloud, never per CI minute.

Why this fits

  • Next.js build + type-check + page rendering on a default GitHub-hosted runner makes large apps unusably slow in CI.
  • Cirun is cloud-neutral — every supported cloud has at least one SKU that fits Next.js; pick whichever account you already have.
  • Ephemeral by default — no state from the previous PR leaks into yours, no flaky-cache surprises.

.cirun.yml

.cirun.yml
1runners:
2 - name: nextjs-runner
3 cloud: aws
4 instance_type: c7i.2xlarge
5 # AWS publishes new Ubuntu 22.04 LTS AMI IDs per region. Use the AWS
6 # SSM parameter
7 # /aws/service/canonical/ubuntu/server/22.04/stable/current/amd64/hvm/ebs-gp2/ami-id
8 # to fetch the current one.
9 machine_image: ami-053b0d53c279acc90
10 labels:
11 - cirun-nextjs

Drop this in your repo root. The first workflow that requests the runner label spins this configuration up on your cloud account.

Ready to run your CI here?

Cirun is free for open source. For private repos, flat monthly plans by repo count — never per CI minute.