A problem with config.yml

Whenever I run a Pull Request or a Push on my repository, CircleCI gives me this problem:

Error

Build-agent version 1.0.66094-621efcb8 (2021-05-28T15:43:41+0000)

Configuration errors: 2 errors occurred:
Error migrating config to version 2: 3 errors occurred:
in job ‘build’: step was not in the right format (unable to find step’s name/details)
in job ‘build’: step was not in the right format (unable to find step’s name/details)
in job ‘build’: step was not in the right format (unable to find step’s name/details)

In step 1 definition: step type "uses" is not a valid type

Config.yml:

https://paste.gg/p/anonymous/4e0c3fdc837249d2a47fa23fb9ae4223

Hello,

That looks like GitHub Actions config syntax mixed in with CircleCI syntax. I’ve done by best to try and convert it fully to a CircleCI config equivalent.

version: 2.1

jobs:
  myjob:
    docker:
      - image: cimg/node:14.17.0
    steps:
      - checkout
      - run: yarn add
      - run: yarn run lint:fix

workflows:
  myworkflow:
    jobs:
      - myjob