test: add resolve/test/list-exports
to false positive in postinstal…
#3
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: Performance Tracking | |
on: | |
push: | |
branches: | |
- main | |
# Run workflows for all releasable branches | |
- '[0-9]+.[0-9]+.x' | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
list: | |
timeout-minutes: 3 | |
runs-on: ubuntu-latest | |
outputs: | |
workflows: ${{ steps.workflows.outputs.workflows }} | |
steps: | |
- name: Initialize environment | |
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@36b7540c8baf768285e55e02cb440c5e1eb658fa | |
- name: Install node modules | |
run: yarn install --immutable | |
- id: workflows | |
run: echo "workflows=$(yarn ng-dev perf workflows --list)" >> "$GITHUB_OUTPUT" | |
workflow: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
needs: list | |
strategy: | |
matrix: | |
workflow: ${{ fromJSON(needs.list.outputs.workflows) }} | |
steps: | |
- name: Initialize environment | |
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@36b7540c8baf768285e55e02cb440c5e1eb658fa | |
- name: Setup Bazel | |
uses: angular/dev-infra/github-actions/bazel/setup@36b7540c8baf768285e55e02cb440c5e1eb658fa | |
- name: Install node modules | |
run: yarn install --immutable | |
# We utilize the google-github-actions/auth action to allow us to get an active credential using workflow | |
# identity federation. This allows us to request short lived credentials on demand, rather than storing | |
# credentials in secrets long term. More information can be found at: | |
# https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform | |
- uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 | |
with: | |
project_id: 'internal-200822' | |
workload_identity_provider: 'projects/823469418460/locations/global/workloadIdentityPools/measurables-tracking/providers/angular' | |
service_account: 'measures-uploader@internal-200822.iam.gserviceaccount.com' | |
- run: yarn ng-dev perf workflows --name ${{ matrix.workflow }} --commit-sha ${{github.sha}} |