mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
name: Performance Tracking
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions: {}
|
|
|
|
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@01c8c16f830d02110c28640aea16f145a7937080
|
|
- name: Install node modules
|
|
run: yarn -s install --frozen-lockfile
|
|
- id: workflows
|
|
run: echo "workflows=$(yarn -s 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@01c8c16f830d02110c28640aea16f145a7937080
|
|
- name: Setup Bazel
|
|
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 }}
|