title: circleci only 1 subschema matches out of 2
body: <p>i'm trying to create a circleci automated testing for my electron apps.<br />
  i followed the intruction from here: <a href="https://circleci.com/blog/electron-testing/" rel="nofollow noreferrer">https://circleci.com/blog/electron-testing/</a><br />
  my repo: <a href="https://github.com/dhanyn10/electron-example/tree/spectron" rel="nofollow noreferrer">https://github.com/dhanyn10/electron-example/tree/spectron</a><br />
  my project folder looks like this</p>
  <pre><code>electron-example
  |──/.circleci
  |  |──config.yml
  |──/bootbox
  |──/project1
  |──/project2
  </code></pre>
  <p>because in my project contains many applications, i need to specify which application in folder that i will test. Here's my circleci config</p>
  <pre class="lang-yaml prettyprint-override"><code>version: 2.1
  jobs:
    build:
      working_directory: ~/electron-example/bootbox
      docker:
        - image: circleci/node:11-browsers
      steps:
        - checkout:
          path: ~/electron-example
        - run:
            name: Update NPM
            command: &quot;sudo npm install -g npm&quot;
        - restore_cache:
            key: dependency-cache-{{ checksum &quot;package-lock.json&quot; }}
        - run:
            name: Install Dependencies
            command: npm install
        - save_cache:
            key: dependency-cache-{{ checksum &quot;package-lock.json&quot; }}
            paths:
              - ./node_modules
        - run:
            name: Run tests
            command: npm run test
  </code></pre>
  <p>package.json</p>
  <pre class="lang-json prettyprint-override"><code>...
    &quot;devDependencies&quot;: {
      &quot;electron&quot;: &quot;^11.4.3&quot;,
      &quot;electron-builder&quot;: &quot;^22.10.4&quot;,
      &quot;mocha&quot;: &quot;^8.3.2&quot;,
      &quot;spectron&quot;: &quot;^13.0.0&quot;
    },
  ...
  </code></pre>
  <p>it return error below</p>
  <pre><code>#!/bin/sh -eo pipefail
  # ERROR IN CONFIG FILE:
  # [#/jobs/build] only 1 subschema matches out of 2
  # 1. [#/jobs/build/steps/0] 0 subschemas matched instead of one
  # |   1. [#/jobs/build/steps/0] extraneous key [path] is not permitted
  # |   |   Permitted keys:
  # |   |     - persist_to_workspace
  # |   |     - save_cache
  # |   |     - run
  # |   |     - checkout
  # |   |     - attach_workspace
  # |   |     - store_test_results
  # |   |     - restore_cache
  # |   |     - store_artifacts
  # |   |     - add_ssh_keys
  # |   |     - deploy
  # |   |     - setup_remote_docker
  # |   |   Passed keys:
  # |   |     []
  # |   2. [#/jobs/build/steps/0] Input not a valid enum value
  # |   |   Steps without arguments can be called as strings
  # |   |     enum:
  # |   |     - checkout
  # |   |     - setup_remote_docker
  # |   |     - add_ssh_keys
  # 
  # -------
  # Warning: This configuration was auto-generated to show you the message above.
  # Don't rerun this job. Rerunning will have no effect.
  false
  
  Exited with code exit status 1
  CircleCI received exit code 1
  </code></pre>
  <p>How to solve this error?</p>