I have a basic build test that I use across multiple projects. But all of a sudden it’s no longer working on one of my projects. Any assistance would be appreciated.
version: 2
jobs:
build:
working_directory: ~/mern-starter
docker:
- image: circleci/node:10.14.1
- image: mongo:3.4.4
steps:
- checkout
- run:
name: update-npm
command: 'sudo npm install -g npm@latest'
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install-npm
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: test
command: npm test
- store_artifacts:
path: test-results.xml
prefix: tests
- store_artifacts:
path: coverage
prefix: coverage
- store_test_results:
path: test-results.xml