fix: keep node display_name and description across the locale collector boundary #34775
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
| # Description: Unit and component testing with Vitest + coverage reporting | |
| name: 'CI: Tests Unit' | |
| on: | |
| push: | |
| branches: [main, master, dev*, core/*, desktop/*] | |
| pull_request: | |
| branches-ignore: [wip/*, draft/*, temp/*] | |
| merge_group: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| changes: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| outputs: | |
| should-run: ${{ steps.changes.outputs.should-run }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - id: changes | |
| uses: ./.github/actions/changes-filter | |
| test: | |
| needs: changes | |
| if: ${{ needs.changes.outputs.should-run == 'true' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup frontend | |
| uses: ./.github/actions/setup-frontend | |
| - name: Run Vitest tests with coverage | |
| run: pnpm test:coverage | |
| - name: Upload unit coverage artifact | |
| if: always() && github.event_name == 'push' | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: unit-coverage | |
| path: coverage/lcov.info | |
| retention-days: 30 | |
| if-no-files-found: warn | |
| - name: Upload coverage to Codecov | |
| if: always() | |
| uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 | |
| with: | |
| files: coverage/lcov.info | |
| flags: unit | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: false |