overleaf/libraries/o-error/.circleci/config.yml
John Lees-Miller 6cc03cad0c Add coverage
2020-05-15 17:18:01 +01:00

22 lines
448 B
YAML

version: 2.1
orbs:
node: circleci/node@1.1.6
coveralls: coveralls/coveralls@1.0.6
jobs:
build-and-test:
executor:
name: node/default
steps:
- checkout
- node/with-cache:
steps:
- run: npm install
- run: npm run lint
- run: npm run typecheck
- run: npm run test:coverage
- coveralls/upload
workflows:
build-and-test:
jobs:
- build-and-test