Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 453 Bytes

File metadata and controls

23 lines (16 loc) · 453 Bytes

Trigger.dev runs your tasks on specific Node.js versions:

v3

  • Node.js 21.7.3

v4

  • Node.js 21.7.3 (default)
  • Node.js 22.16.0 (node-22)
  • Bun 1.3.3 (bun)

You can change the runtime by setting the runtime field in your trigger.config.ts file.

import { defineConfig } from "@trigger.dev/sdk";

export default defineConfig({
  // "node", "node-22" or "bun"
  runtime: "node-22",
  project: "<your-project-ref>",
});