Skip to content

Commit

Permalink
Adds support for github actions to automatically run unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmalburn committed Dec 27, 2021
1 parent 5a724b5 commit d82a4c5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Tests
on:
- push
- pull_request
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '14', '16' ]
steps:
- actions/checkout@v2
- name: Set up Node JS ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- run: npm test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Redux Persist Chrome Storage

![Tests](https://github.com/robinmalburn/redux-persist-chrome-storage/actions/workflows/tests.yml/badge.svg)

Storage adaptor for using [Google Chrome's Storage API](https://developer.chrome.com/apps/storage) with [redux-persist](https://github.com/rt2zz/redux-persist).

The main use case for this adaptor is when writing Chrome extensions and making use of either the Sync, Local or Managed StorageArea drivers to persist your redux state.
Expand Down

0 comments on commit d82a4c5

Please sign in to comment.