Skip to content

Commit

Permalink
adding circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
christinach committed Feb 21, 2020
1 parent 0c9c59d commit 49926b1
Show file tree
Hide file tree
Showing 4 changed files with 14,440 additions and 1 deletion.
45 changes: 45 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
version: 2 # use CircleCI 2.0
jobs:
build:
working_directory: ~/be-redux-react
docker:
- image: circleci/node:12.14.0-browsers

steps:
- checkout
# Restore the dependency cache
- restore_cache:
key: be-redux-react-{{ checksum "package-lock.json" }}

- run:
name: Install dependencies with NPM
command: npm install

# Save the dependency cache
- save_cache:
key: be-redux-react-{{ checksum "package-lock.json" }}
paths:
- "node_modules"
# - run:
# name: Validate the style of the code
# command: yarn lint

- run:
name: Run tests
command: |
mkdir /tmp/test-results
npm test
# Collect reports
- store_artifacts:
path: /tmp/test-results

- store_test_results:
path: /tmp/test-results
destination: test-results

workflows:
version: 2
Build and Test:
jobs:
- build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BrowseEverything Redux/React
# BrowseEverything Redux/
_A [React](https://reactjs.org/) and [Redux](https://redux.js.org/) user interface implementation for the [BrowseEverything Core Component](https://github.com/samvera/browse-everything)_

Jump in: [![Slack Status](http://slack.samvera.org/badge.svg)](http://slack.samvera.org/)
Expand Down
Loading

0 comments on commit 49926b1

Please sign in to comment.