feat(ng-dev): add support for uploading results of workflow testing t… #25
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: Performance Tracking | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - add-uploading | |
| permissions: | |
| contents: 'read' | |
| id-token: 'write' | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| list: | |
| timeout-minutes: 30 | |
| runs-on: ubuntu-latest | |
| outputs: | |
| workflows: ${{ steps.workflows.outputs.workflows }} | |
| steps: | |
| # Because the checkout and setup node action is contained in the dev-infra repo, we must | |
| # checkout the repo to be able to run the action we have created. Other repos will skip | |
| # this step. | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: ./github-actions/npm/checkout-and-setup-node | |
| - uses: ./github-actions/bazel/setup | |
| - run: yarn install --immutable | |
| - uses: 'google-github-actions/auth@v2' | |
| with: | |
| project_id: 'internal-200822' | |
| workload_identity_provider: 'projects/823469418460/locations/global/workloadIdentityPools/measurables-tracking/providers/angular' | |
| service_account: '[email protected]' | |
| - run: yarn ng-dev perf workflows --name rerun --commit-sha ${{github.sha}} | |
| workflow: | |
| timeout-minutes: 30 | |
| runs-on: ubuntu-latest | |
| needs: list | |
| strategy: | |
| matrix: | |
| workflow: ${{ fromJSON(needs.list.outputs.workflows) }} | |
| steps: | |
| # Because the checkout and setup node action is contained in the dev-infra repo, we must | |
| # checkout the repo to be able to run the action we have created. Other repos will skip | |
| # this step. | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: ./github-actions/npm/checkout-and-setup-node | |
| - uses: ./github-actions/bazel/setup | |
| - run: yarn install --immutable | |
| - run: yarn ng-dev perf workflows --name ${{ matrix.workflow }} --commit-sha ${{github.sha}} |