Skip to content

Commit

Permalink
Allow React 18 as a peer dependency (#52)
Browse files Browse the repository at this point in the history
* add react 18 support & update deps

* removed checks for node 14 and 16 in matrix tests

* updated react version specs in peer deps

* undo updated packages
  • Loading branch information
ifedaviid authored Oct 25, 2023
1 parent 05cefac commit d115bfb
Show file tree
Hide file tree
Showing 3 changed files with 6,043 additions and 4,962 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -25,9 +25,9 @@ jobs:
- run: npm run build --if-present
- run: npm test
- run: npm run coverage
if: ${{ matrix.node-version == '16.x' }} # only report coverage on latest Node
if: ${{ matrix.node-version == '20.x' }} # only report coverage on latest Node
- name: Coveralls
if: ${{ matrix.node-version == '16.x' }} # only report coverage on latest Node
if: ${{ matrix.node-version == '20.x' }} # only report coverage on latest Node
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit d115bfb

Please sign in to comment.