Skip to content

Commit

Permalink
JSAEM2-55 feat: using circle-CI (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCTH authored and ikarasz committed Jan 7, 2020
1 parent 15b0a8f commit 3c6f6d9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 8 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2.1
jobs:
build:
docker:
- image: circleci/node:lts

working_directory: ~/repo

steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ .Branch }}-{{ checksum "package-lock.json" }}
- v1-dependencies-

- run:
name: Install All Dependencies
command: npm install

- run:
name: Run eslint
command: npm run lint

- run:
name: Run Test
command: npm test

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ .Branch }}-{{ checksum "package-lock.json" }}
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit 3c6f6d9

Please sign in to comment.