diff --git a/src/schemas/json/circleciconfig.json b/src/schemas/json/circleciconfig.json index ad721bc32f2..5a83b28f686 100644 --- a/src/schemas/json/circleciconfig.json +++ b/src/schemas/json/circleciconfig.json @@ -140,6 +140,23 @@ } } }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "checkout": { + "type": "object", + "additionalProperties": false, + "properties": { + "path": { + "description": "Checkout directory", + "type": "string", + "default": false + } + } + } + } + }, { "type": "object", "additionalProperties": false, diff --git a/src/test/circleciconfig/chromeless.json b/src/test/circleciconfig/chromeless.json index 7348cc0c74a..29142d924df 100644 --- a/src/test/circleciconfig/chromeless.json +++ b/src/test/circleciconfig/chromeless.json @@ -140,7 +140,11 @@ { "run": "node -v; npm -v" }, - "checkout", + { + "checkout": { + "path": "~/chromeless/test" + } + }, { "setup_remote_docker": { "version": "17.11.0-ce"