version: 2.0 jobs: build: docker: - image: circleci/node:8.15.0 steps: - checkout - run: name: Delete any old node_modules command: | rm -rf node_modules/ - run: name: Install dependencies command: | npm install - run: name: Get submodules command: | git submodule update --init - run: name: Run tests command: | npm run test-cov - run: name: Upload coverage command: | bash <(curl -s https://codecov.io/bash)