Fix issue when rendering Link/NavLink outside of matched routes #4272
Workflow file for this run
This file contains 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 | |
- dev | |
tags-ignore: | |
- v* | |
paths-ignore: | |
- "docs/**" | |
- "**/README.md" | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
- "**/*.md" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: "🧪 Test: (Node: ${{ matrix.node }})" | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- 16 | |
- 18 | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
check-latest: true | |
node-version: ${{ matrix.node }} | |
- name: Disable GitHub Actions Annotations | |
run: | | |
echo "::remove-matcher owner=tsc::" | |
echo "::remove-matcher owner=eslint-compact::" | |
echo "::remove-matcher owner=eslint-stylish::" | |
- name: 📥 Install deps | |
run: yarn --frozen-lockfile | |
- name: 🏗 Build | |
run: yarn build | |
- name: 🔬 Lint | |
run: yarn lint | |
- name: 🧪 Run tests | |
run: yarn test | |
- name: Check bundle size | |
run: yarn size |