Skip to content

ci: set up perf workflow job and create initial workflow #2

ci: set up perf workflow job and create initial workflow

ci: set up perf workflow job and create initial workflow #2

Workflow file for this run

name: Performance Tracking
on:
pull_request:
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@53fb7c37cf14343f14ed79e2fefbbb2489ead4ee
- name: Install node modules
run: yarn -s install --immutable
- 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@53fb7c37cf14343f14ed79e2fefbbb2489ead4ee
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@53fb7c37cf14343f14ed79e2fefbbb2489ead4ee
- name: Install node modules
run: yarn -s install --immutable
- run: yarn -s ng-dev perf workflows --name ${{ matrix.workflow }}