Skip to content

Commit

Permalink
Add circle ci
Browse files Browse the repository at this point in the history
  • Loading branch information
acellam committed Feb 11, 2021
1 parent 6f4333b commit 6fbaef1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
orbs:
node: circleci/node@4.0.0

version: 2.1

workflows:
app-tests:
jobs:
- node/test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"pretest": "npm run lint && npm run build:test && tsc",
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --config .mocharc.json",
"test:dev": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --config .mocharc.dev.json",
"test:unit": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc -r lcov -e .ts -x \"*.spec.ts\" mocha --config .mocharc.json -r ts-node/register src/**/*.spec.ts",
"test:unit": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc -r lcov -e .ts -x \"*.spec.ts\" mocha --config .mocharc.json -r ts-node/register src/**/*.spec.ts && nyc report",
"upload_coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"lint": "tslint -c tslint.json '**/*.ts' --exclude '**/node_modules/**'",
"lint:fix": "npm run lint -- --fix",
Expand Down

0 comments on commit 6fbaef1

Please sign in to comment.