-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update monorepo to React19 (#6738)
- Loading branch information
Showing
4 changed files
with
39 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,14 +35,13 @@ jobs: | |
- name: Install | ||
run: yarn install --immutable | ||
|
||
- name: Install 19 | ||
if: ${{ matrix.react == '19' }} | ||
- name: Install 18 | ||
if: ${{ matrix.react == '18' }} | ||
run: | | ||
yarn add "@types/react@19" "@types/react-dom@19" --dev | ||
yarn add react@19 react-dom@19 | ||
yarn add "@types/react@18" "@types/react-dom@18" --dev | ||
yarn add react@18 react-dom@18 | ||
- name: Cypress run | ||
if: ${{ (matrix.react == '19' && matrix.spec == 'charts') != true }} | ||
uses: cypress-io/github-action@v6 | ||
with: | ||
browser: chrome | ||
|
@@ -51,7 +50,7 @@ jobs: | |
install: false | ||
|
||
- uses: coverallsapp/[email protected] | ||
if: ${{ inputs.reportCoverage && (matrix.react == '19' && matrix.spec != 'charts' || matrix.react == '18' && matrix.spec == 'charts') }} | ||
if: ${{ inputs.reportCoverage && matrix.react == '19' }} | ||
with: | ||
file: temp/cypress-coverage/lcov.info | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters