# A problem with config.yml

**URL:** <https://discuss.circleci.com/t/a-problem-with-config-yml/40228>\
**Category:** Build Environment\
**Tags:** circle-yml\
**Created:** [May 29, 2021, 9:33pm UTC](https://discuss.circleci.com/t/a-problem-with-config-yml/40228 "2021-05-29T21:33:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LordLucass](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/lordlucass/32/27486_2.png) [@LordLucass](https://discuss.circleci.com/u/LordLucass)\
**Post date:** [May 29, 2021, 9:33pm UTC](https://discuss.circleci.com/t/a-problem-with-config-yml/40228/1 "2021-05-29T21:33:05Z")

</div>

**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](https://paste.gg/p/anonymous/4e0c3fdc837249d2a47fa23fb9ae4223)

---

<div class="post-metadata">

**Author:** ![fernfernfern](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/fernfernfern/32/8596_2.png) [@fernfernfern](https://discuss.circleci.com/u/fernfernfern)\
**Post date:** [May 31, 2021, 9:52am UTC](https://discuss.circleci.com/t/a-problem-with-config-yml/40228/2 "2021-05-31T09:52:18Z")

</div>

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.

```auto
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

```
