monday code runtimes
Learn how monday code supports other programming languages with runtimes
monday code supports numerous programming languages through runtimes.
Runtimes are configured in a .mondaycoderc
file in your app's root directory. The file specifies the language and version required to run your application.
Once created, monday code reads the file and sets up the environment based on the configured runtime.
Supported runtimes
We support the following runtimes*:
Language | Versions |
---|---|
Python | 3.10.x , 3.11.x , 3.12.x |
Java | 8 , 11 , 17 , 21 |
Go | 1.x.x |
PHP | 8.1.x , 8.2.x , 8.3.x |
Ruby | 3.1.x , 3.2.x , 3.3.x |
Node.js | 18.x.x , 20.x.x , 22.x.x |
.NET Core | 6.x , 8.x |
*These are subject to change. Please refer to the schema for the most up-to-date list.
How it works
Create a .mondaycoderc
file
.mondaycoderc
fileFollow these steps to create a .mondaycoderc
file:
-
Open your terminal and navigate to your project's root directory.
-
Use a text editor or a command-line tool to create a new file.
-
Name the file
.mondaycoderc
. -
Add the required configuration options to the file. They should be in JSON format and must include the following properties:
Property | Description | Type |
---|---|---|
RUNTIME | The name of the programming language | String |
RUNTIME_VERSION | The version of the programming language | String |
Validation
The CLI will validate the provided properties based on this schema. If you provide an invalid or unsupported runtime, you will get an error that clearly states the supported runtimes and your code won't be deployed.
You can ensure the .mondaycoderc
file is validated to avoid configuration errors.
Sample configurations
Below are examples of different configurations that you can add to your .mondaycoderc
file:
{
"RUNTIME": "Python",
"RUNTIME_VERSION": "3.10.1"
}
{
"RUNTIME": "Java",
"RUNTIME_VERSION": "17"
}
{
"RUNTIME": "Go",
"RUNTIME_VERSION": "1.18.0"
}
{
"RUNTIME": "PHP",
"RUNTIME_VERSION": "8.1.0"
}
{
"RUNTIME": "Ruby",
"RUNTIME_VERSION": "3.1.2"
}
{
"RUNTIME": "Node.js",
"RUNTIME_VERSION": "18.13.0"
}
{
"RUNTIME": "NETCore",
"RUNTIME_VERSION": "6.0"
}
Updated about 2 months ago