I don’t know what am doing wrong.
version: 2.1
orbs:
node: circleci/node@5.0.1
jobs:
run_tests:
docker:
- image: cimg/node:17.7.1
steps:
- checkout
- node/install:
install-yarn: true
node-version: '16.13.1'
- run: node --version
- run:
name: Install npm dependencies
command: npm install
- run:
name: Run test script
command: npm run test
- store_test_results:
path: _test_results_
- store_artifacts:
path: _test_results_
workflows:
build_test:
jobs:
- run_tests
This is my config.yml file when I commit new change and I expect my tests to run I kept getting mocha not found.
Please what can I do?