fix: add try-catch for window.top access to avoid cross-origin error … #1123
This file contains hidden or 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
| name: ✅ test | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| uses: react-component/rc-test/.github/workflows/test.yml@main | |
| secrets: inherit |