chore(deps): bump vue-router from 4.6.4 to 5.1.0 #100
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Cancel an in-flight run when a new commit lands on the same branch. | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| quality: | |
| name: Quality gate | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [18, 20, 22] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci --no-audit --prefer-offline | |
| - name: Type-check | |
| run: npm run type-check | |
| - name: Lint | |
| run: npm run lint | |
| - name: Format check | |
| run: npm run format:check | |
| - name: Unit tests (Vue v2.3.4 reference) | |
| run: npm test | |
| - name: Unit tests (multi-framework packages) | |
| run: npm run test:packages | |
| - name: Build Vue demo | |
| run: npm run build | |
| - name: Build Vue library | |
| run: npm run build:lib | |
| - name: Build multi-framework packages | |
| run: npm run build:packages | |
| - name: Audit production dependencies | |
| run: npm run audit | |
| - name: Bundle size budget (size-limit) | |
| # Only run on Node 20 — size-limit reads the built dist/ output, | |
| # and the budget is the same across Node versions. Running on every | |
| # matrix entry would triple the wall-clock without adding signal. | |
| if: matrix.node-version == 20 | |
| run: npm run size |