Skip to content

Commit 8a37ec8

Browse files
committed
Add matrix strategy to test both 18 and 19
1 parent 7a266a2 commit 8a37ec8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/testing.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
testing:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
react-version: [18, 19]
1013
env:
1114
BS_ACCESS_KEY: ${{ secrets.BS_ACCESS_KEY }}
1215
BS_USERNAME: ${{ secrets.BS_USERNAME }}
@@ -20,6 +23,8 @@ jobs:
2023
node-version: 14
2124
- name: Installing Dependencies
2225
run: yarn install --frozen-lockfile
26+
- name: Install React ${{ matrix.react-version }}
27+
run: yarn add react@${{ matrix.react-version }} react-dom@${{ matrix.react-version }} --dev
2328
- name: Checking File Size
2429
run: yarn check:size
2530
- name: Checking Linting Rules

0 commit comments

Comments
 (0)