mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ci: update perf workflow to the latest version (#58876)
Update the perf workflow to the latest version to allow for uploading results to database PR Close #58876
This commit is contained in:
committed by
Jessica Janiuk
parent
1bdc3f1aae
commit
6884ead4a5
@@ -5,7 +5,9 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions: {}
|
||||
permissions:
|
||||
contents: 'read'
|
||||
id-token: 'write'
|
||||
|
||||
defaults:
|
||||
run:
|
||||
@@ -39,4 +41,13 @@ jobs:
|
||||
uses: angular/dev-infra/github-actions/bazel/setup@01c8c16f830d02110c28640aea16f145a7937080
|
||||
- name: Install node modules
|
||||
run: yarn -s install --frozen-lockfile
|
||||
- run: yarn -s ng-dev perf workflows --name ${{ matrix.workflow }}
|
||||
# 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@v2'
|
||||
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}}
|
||||
|
||||
Reference in New Issue
Block a user