fix: await async onSuccess/onError callbacks to prevent unhandled rej… #247
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 React 17 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - v* | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install | |
| uses: ./.github/workflows/install | |
| - name: Test | |
| env: | |
| TEST_REACT_LEGACY: 1 | |
| run: | | |
| pnpm clean | |
| pnpm build | |
| pnpm test | |
| pnpm test:build | |
| pnpm test-typing |