We will add the workflows section to the bottom of our config YML script, but we could also add it to the beginning of our config YML script. Here is the updated config YML script:
...workflows: version: 2 build_test_and_deploy: jobs: - build - test: requires: - build - deploy: requires: - test
Once we finish updating the config YML script, we should ensure that our config YML script is still valid by using CircleCI CLI, like this:
It looks like we have an issue in our config YML script in line 19:
...- run: name: Run Tests and Run Code Coverage with NYC command: | echo "Generate Code Coverage" ...