Back to all change logs

May 19, 2023

Build Actors from monorepos easily

New

Update

Console

Actor

Support for monorepos

You can now easily build miltiple Actors from a GitHub monorepo and share the code across all of them. To enable this you need to configure the dockerContextDir property in the actor.json directly. This will enable Docker to access the required directories:

1{
2    "actorSpecification": 1,
3    "name": "testing-monorepo-actor-1",
4    "title": "Testing monorepo actor 1",
5    "description": "This actor loads its code and input schema from a shared package.",
6    "version": "0.0",
7    "dockerContextDir": "../..",
8    "input": "../../shared/input_schema.json",
9    "readme": "../../shared/README.md",
10    "dockerfile": "./Dockerfile"
11}

See the documentation for more information.

Better Actor READMEs and CHANELOGs

In the past month, we've rolled out improvements to Actor READMEs, including better styling and displaying the table of contents next to them.

actor-readme.png

In addition, if the Actor source code contains CHANGELOG.md, it gets rendered in its Info tab. This way, you can quickly learn about the new features and imrovements brought to you by the new release of an Actor.

actor-changelog.png

Marek Trunkat

CTO