Forge functions currently support two classes of runtime execution environments:
To specify your Specifying your function runtime is done by defining the runtime field in your app manifest.
1 2app: id: <app-id> runtime: name: nodejs18.x | nodejs20.x | sandbox
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: