We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b6259 commit 384d702Copy full SHA for 384d702
docs/snippets/node-versions.mdx
@@ -1,16 +1,4 @@
1
-Trigger.dev runs your tasks on specific Node.js versions depending on the version you're using:
+Trigger.dev runs your tasks on specific Node.js versions:
2
3
- **v3**: Uses Node.js `21.7.3`
4
-- **v4**: Uses Node.js `21.7.3` by default, or Node.js `22.12.0` if you set `runtime: "node-22"` in your `trigger.config.ts`
5
-
6
-In v4, you can specify `runtime: "node-22"` to use Node.js 22 like this:
7
8
-```ts trigger.config.ts
9
-import { defineConfig } from "@trigger.dev/sdk/v3";
10
11
-export default defineConfig({
12
- project: "<project ref>",
13
- // Your other config settings...
14
- runtime: "node-22", // Uses Node.js 22.12.0
15
-});
16
-```
+- **v4**: Uses Node.js `21.7.3`
0 commit comments