test: migrate to Vitest fake timers, remove @testing-library/user-event, and resolve act warnings #500
Workflow file for this run
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: | |
| branches: [main] | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'lts/*' | |
| cache: 'pnpm' | |
| - run: pnpm install | |
| - run: pnpm run test:format | |
| - run: pnpm run test:types | |
| - run: pnpm run test:lint | |
| - run: pnpm run test:spec | |
| - run: pnpm run build # we don't have any other workflows to test build |