fix: export useRouter back #59
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: Main CI | |
| on: [push] | |
| jobs: | |
| build: | |
| name: Node v${{ matrix.node }} on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node: ["18.x", "20.x", "22.x"] | |
| os: [ubuntu-latest, macOS-latest] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v2 | |
| - name: Use Node ${{ matrix.node }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: "pnpm" | |
| - name: Install deps | |
| run: pnpm install | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Test | |
| run: pnpm test -- --coverage | |
| - name: Build | |
| run: pnpm build |