mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
3282934cf6
* fix test coverage. * changes per comments + added test-coverage script to increase max-old-space-size of V8 ref: https://nodejs.org/api/cli.html#cli_max_old_space_size_size_in_mbytes * renamed test:coverage and test:debug. * circle-ci to use test:coverage. * reduced test coverage thresholds. Co-authored-by: Andrew Henry <akhenry@gmail.com>
37 lines
917 B
YAML
37 lines
917 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/node:8-browsers
|
|
environment:
|
|
CHROME_BIN: "/usr/bin/google-chrome"
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Update npm
|
|
command: 'sudo npm install -g npm@latest'
|
|
- restore_cache:
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
- run:
|
|
name: Installing dependencies (npm install)
|
|
command: npm install
|
|
- save_cache:
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
paths:
|
|
- node_modules
|
|
- run:
|
|
name: npm run test:coverage
|
|
command: npm run test:coverage
|
|
- run:
|
|
name: npm run lint
|
|
command: npm run lint
|
|
- store_artifacts:
|
|
path: dist
|
|
prefix: dist
|
|
|
|
workflows:
|
|
version: 2
|
|
test:
|
|
jobs:
|
|
- build
|