Forge functions currently support two classes of runtime execution environments:
Specifying your function runtime is done by defining the runtime field in your app manifest.
1 2app: id: <app-id> runtime: name: nodejs22.x | nodejs20.x
Adding the runtime.name property to the manifest file will not trigger a
major version upgrade. As such, deploying this change alone will automatically install it on all sites within the same
environment (for example, production).
Rate this page: