I am new to CIrcleCI. My build is failing with
> mocha test/*.js sh: 1: mocha: not found
which I imagine is because the devDependencies specified in package.json are not being installed. I have tried setting NODE_ENV to development both in config.yml and in Settings > Environment Variables, to no avail.
My config.yml is
version: 2 jobs: build: docker: - image: node:8.0 environment: - NODE_ENV: development steps: - checkout - run: npm test
What am I doing wrong? Thx.