Fix useSearch ssr regression (#551) #700
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: Run Tests & Linters | |
| on: | |
| push: | |
| branches: "*" | |
| pull_request: | |
| branches: "*" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_COLOR: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install Dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Prepare wouter-preact (copy source files) | |
| run: cd packages/wouter-preact && npm run prepublishOnly | |
| - name: Run test | |
| run: bun test --coverage --coverage-reporter=lcov --coverage-reporter=text | |
| - name: Run type check | |
| run: bun run test-types | |
| - name: Lint Sources with ESLint | |
| run: bun run lint | |
| - name: Upload Coverage to Coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| file: ./coverage/lcov.info |