.circleci/config.yml
version: 2
jobs:
build:
working_directory: ~/r2curl
docker:
- image: circleci/node:10.15.3
steps:
- checkout
- run:
name: npminstall
command: npm install
- run:
name: tslint check
command: npx tslint -c ./tslint.json "src/**/*.ts"
- run:
name: jest
command: npm test
- run:
name: typescript compile & artifact
command: npm pack