Skip to content

Commit 7845809

Browse files
authored
Add react-router-dom to peer deps and test also on node 20 (#57)
Signed-off-by: Łukasz Jernaś <lukasz.jernas@allegro.com>
1 parent 02b9203 commit 7845809

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,18 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212

13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
node-version: [ 18.x, 20.x ]
17+
18+
name: Test ${{ matrix.node-version }}
19+
1320
steps:
1421
- uses: actions/checkout@v4
1522
- uses: actions/setup-node@v4
1623
with:
17-
node-version: 18
24+
node-version: ${{ matrix.node-version }}
1825
cache: yarn
1926
- run: yarn install --frozen-lockfile
2027
- run: yarn tsc

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
},
4545
"peerDependencies": {
4646
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
47-
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0"
47+
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
48+
"react-router-dom": "^6.3.0"
4849
},
4950
"devDependencies": {
5051
"@backstage/cli": "^0.28.0",

0 commit comments

Comments
 (0)