Cypress/install Failed while executing project


How to write config.yml file …I have use following code in cofig.yml but it didnt work
version: 2.1

orbs:

cypress: cypress-io/cypress@1.29.0

workflows:

build:

jobs:

  - cypress/install:

      build: 'npm run build' # run a custom app build step

  - cypress/run:

      requires:

        - cypress/install

      record: true # record results on Cypress Dashboard

      parallel: true # split all specs across machines

      parallelism: 4 # use 4 CircleCI machines to finish quickly

      group: 'all tests' # name this group "all tests" on the dashboard

      start: 'npm start' # start server before running tests