Repository navigation
Increment version to 0.4.6 #962
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: Tracker CI | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - "tracker/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| timeout-minutes: 15 | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| container: | |
| # keep in sync with playwright package in /tracker folder | |
| image: mcr.microsoft.com/playwright:v1.56.1-noble | |
| options: --user 1001 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| shardIndex: [1, 2, 3, 4] | |
| shardTotal: [4] | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24.17.0 | |
| cache: 'npm' | |
| cache-dependency-path: tracker/package-lock.json | |
| - name: Install dependencies | |
| run: npm --prefix ./tracker ci | |
| - name: Run Playwright tests | |
| run: npm --prefix ./tracker test -- --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --reporter=blob | |
| - name: Upload blob report to GitHub Actions Artifacts | |
| if: ${{ !cancelled() }} | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: blob-report-${{ matrix.shardIndex }} | |
| path: tracker/blob-report | |
| retention-days: 1 | |
| merge-sharded-test-report: | |
| if: ${{ !cancelled() }} | |
| needs: [test] | |
| timeout-minutes: 5 | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24.17.0 | |
| cache: 'npm' | |
| cache-dependency-path: tracker/package-lock.json | |
| - name: Install dependencies | |
| run: npm --prefix ./tracker ci | |
| - name: Download blob reports from GitHub Actions Artifacts | |
| uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 | |
| with: | |
| path: all-blob-reports | |
| pattern: blob-report-* | |
| merge-multiple: true | |
| - name: Merge into list report | |
| working-directory: ./tracker | |
| run: npx playwright merge-reports --reporter list ../all-blob-reports |