chore: remove unnecessary renderFinal... functions and use private # properties #14144
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: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| types: [synchronize, opened, reopened] | |
| jobs: | |
| build_and_test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [20.x, 24.x] | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: ./.github/setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| setup-java: true | |
| # Only install playwright if elements project is affected | |
| - name: affected | |
| id: affected | |
| shell: bash | |
| run: echo "affected=$(npx nx show projects --affected --json)" >> "$GITHUB_OUTPUT" | |
| - name: Install Playwright Browsers | |
| if: ${{ contains(fromJson(steps.affected.outputs.affected), 'elements') }} | |
| run: npm run install-browsers | |
| - name: Lint & Build & Test | |
| run: npm run all | |
| - name: Bundlemon | |
| if: ${{ contains(fromJson(steps.affected.outputs.affected), 'elements') && matrix.os == 'ubuntu-latest' && matrix.node-version == '24.x' }} | |
| uses: lironer/bundlemon-action@v1 | |
| with: | |
| working-directory: packages/elements | |
| - uses: actions/upload-artifact@v5 | |
| if: failure() | |
| with: | |
| name: image-diffs | |
| path: packages/elements/playwright-report/ | |
| incremental_mutation_testing: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/setup | |
| with: | |
| setup-playwright: true | |
| - run: npm run download-incremental-reports | |
| - name: Run Stryker incrementally | |
| run: | | |
| npx nx run-many --target=stryker --projects=metrics,elements,real-time -- --incremental | |
| env: | |
| STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} |