fix: fix SSR issue with SettingsProvider #2109
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: "Build test coverage report" | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 10 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- name: Test components | |
run: pnpm nx test:unit components --coverage.enabled true | |
- name: Report Coverage | |
if: always() | |
uses: davelosert/vitest-coverage-report-action@v2 | |
with: | |
working-directory: ./packages/components/ |