chore(deps): update dependency cross-env to v10.1.0 (#3922) #13915
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: [22.x, 24.x] | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| 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: npx playwright install chromium firefox --with-deps | |
| - 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@v4 | |
| if: failure() | |
| with: | |
| name: image-diffs | |
| path: packages/elements/playwright-report/ | |
| incremental_mutation_testing: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: ./.github/setup | |
| - name: Install Playwright Browsers | |
| run: npx playwright install chromium --with-deps | |
| - 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 }} |