fix: multiple call BrowserRouter.connect/DragAndDropObserver.observe #372
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: Tests - Unit | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test-unit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: '24.14.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Install dependencies | |
| run: | | |
| npm ci | |
| - name: Code style check | |
| run: | | |
| npm run fmt -- --check | |
| - name: Lint | |
| run: | | |
| npm run lint | |
| - name: Type check | |
| run: | | |
| npm run check | |
| - name: Unit tests | |
| run: | | |
| npm run test | |
| - name: Build and pack | |
| run: | | |
| npm run build | |
| npm pack | |
| - name: Built package tests | |
| working-directory: ./tests-pkg | |
| run: | | |
| npm run preparing | |
| npm run test |