add Circle CI support

This commit is contained in:
idleberg 2020-07-18 01:08:23 +02:00
parent 9544f1d756
commit 7d62a511cd
2 changed files with 40 additions and 1 deletions

38
.circleci/config.yml Normal file
View file

@ -0,0 +1,38 @@
version: 2.1
commands:
run-tests:
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: Installing Dependencies
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: Lint Source
command: npm run test
jobs:
node-latest:
docker:
- image: circleci/node:latest
steps:
- run-tests
node-lts:
docker:
- image: circleci/node:lts
steps:
- run-tests
workflows:
node-multi-build:
jobs:
- node-latest
- node-lts
version: 2

View file

@ -1,3 +1,4 @@
.circle-ci
bower.json
gulpfile.js
yarn.lock
yarn.lock