integrate-croct
Learn how to set up Croct in a project.
This action initializes the Croct SDK in the project, equivalent to the croct init command.
Idempotent
If the project is already initialized, the action is skipped, making it safe to run multiple times.
Example
The following template initializes the SDK in the project:
template.json5
{ "$schema": "https://schema.croct.com/json/v1/template.json", "title": "SDK setup", "description": "Integrates the Croct SDK.", "actions": [ { "name": "integrate-croct" } ]}To apply this template, run:
npm
npx croct@latest use template.json5Properties
These are the supported properties:
- namestring
The action identifier. Always integrate-croct for this action.