feat: migrate workflow template site as apps/hub #14277
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/*] | |
| paths-ignore: ['**/*.md'] | |
| pull_request: | |
| branches-ignore: [wip/*, draft/*, temp/*] | |
| paths-ignore: ['**/*.md'] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup frontend | |
| uses: ./.github/actions/setup-frontend | |
| - name: Run Vitest tests with coverage | |
| run: pnpm test:coverage | |
| - name: Upload coverage to Codecov | |
| if: always() | |
| uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3 | |
| with: | |
| files: coverage/lcov.info | |
| fail_ci_if_error: false |