fix: improve compare quadrant chart labels #10188
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: ci | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - release | |
| push: | |
| branches: | |
| - main | |
| merge_group: | |
| branches: | |
| - main | |
| # cancel in-progress runs on new commits to same PR (gitub.event.number) | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: π Lint project | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1 | |
| with: | |
| node-version: lts/* | |
| run-install: false | |
| - name: π¦ Install dependencies (root only, no scripts) | |
| run: vp install --filter . --ignore-scripts | |
| - name: π Lint project | |
| run: vp run lint | |
| types: | |
| name: πͺ Type check | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1 | |
| with: | |
| node-version: lts/* | |
| cache: true | |
| - name: πͺ Type check | |
| run: vp run test:types | |
| unit: | |
| name: π§ͺ Unit tests | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1 | |
| with: | |
| node-version: lts/* | |
| cache: true | |
| - name: π§ͺ Unit tests | |
| run: vp test --project unit --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml | |
| - name: β¬οΈ Upload test results to Codecov | |
| if: ${{ !cancelled() }} | |
| uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| test: | |
| name: π§ͺ Component tests | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1 | |
| with: | |
| node-version: lts/* | |
| cache: true | |
| - name: π Install browser | |
| run: vp exec playwright install chromium-headless-shell | |
| - name: π§ͺ Component tests | |
| run: vp test --project nuxt --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml | |
| - name: β¬οΈ Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6 | |
| with: | |
| report_type: test_results | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| - name: β¬οΈ Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6 | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| browser: | |
| name: π₯οΈ Browser tests | |
| runs-on: ubuntu-24.04-arm | |
| container: | |
| image: mcr.microsoft.com/playwright:v1.58.2-noble | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1 | |
| with: | |
| node-version: lts/* | |
| cache: true | |
| - name: ποΈ Build project | |
| run: vp run build:test | |
| env: | |
| VALIDATE_HTML: true | |
| - name: π₯οΈ Test project (browser) | |
| run: vp run test:browser:prebuilt | |
| a11y: | |
| name: βΏ Accessibility audit | |
| runs-on: ubuntu-latest # See https://github.com/GoogleChrome/lighthouse/discussions/16834 | |
| strategy: | |
| matrix: | |
| mode: [dark, light] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1 | |
| with: | |
| node-version: lts/* | |
| cache: true | |
| - name: ποΈ Build project | |
| run: vp run build:test | |
| - name: βΏ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode) | |
| run: vp run test:a11y:prebuilt | |
| env: | |
| LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} | |
| LIGHTHOUSE_COLOR_MODE: ${{ matrix.mode }} | |
| knip: | |
| name: π§Ή Unused code check | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1 | |
| with: | |
| node-version: lts/* | |
| cache: true | |
| - name: π§Ή Check for unused code | |
| run: vp run knip | |
| i18n: | |
| name: π i18n validation | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1 | |
| with: | |
| node-version: lts/* | |
| run-install: false | |
| - name: π¦ Install dependencies (root only, no scripts) | |
| run: vp install --filter . --ignore-scripts | |
| - name: π Check for missing or dynamic i18n keys | |
| run: vp run i18n:report | |
| - name: π Check i18n schema is up to date | |
| run: | | |
| vp run i18n:schema | |
| git diff --exit-code i18n/schema.json |