Skip to content

Commit

Permalink
Set up CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmelnikow committed May 10, 2019
1 parent 950ba8f commit a5beb4a
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
version: 2

common_steps: &common_steps
steps:
- checkout

- run:
name: Install dependencies
command: npm install

- run:
name: Run tests
command: npm run mocha

- run:
name: Check Typescript types
command: npm run check-types
when: always

jobs:
node-8:
docker:
- image: circleci/node:8

<<: *common_steps

node-10:
docker:
- image: circleci/node:10

<<: *common_steps

node-11:
docker:
- image: circleci/node:11

<<: *common_steps

node-12:
docker:
- image: circleci/node:12

<<: *common_steps

workflows:
version: 2

on-commit:
jobs:
- node-8
- node-10
- node-11
- node-12

0 comments on commit a5beb4a

Please sign in to comment.