-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: set up perf workflow job and create initial workflow
Set up the initial workflow to build upon.
- Loading branch information
1 parent
1ded0b7
commit b53e25e
Showing
4 changed files
with
55 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
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@53fb7c37cf14343f14ed79e2fefbbb2489ead4ee | ||
- 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@53fb7c37cf14343f14ed79e2fefbbb2489ead4ee | ||
- name: Setup Bazel | ||
uses: angular/dev-infra/github-actions/bazel/setup@53fb7c37cf14343f14ed79e2fefbbb2489ead4ee | ||
- name: Install node modules | ||
run: yarn install --immutable | ||
- run: yarn ng-dev perf workflows --name ${{ matrix.workflow }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
workflows: | ||
build-adev: | ||
name: Build cli | ||
prepare: | ||
- bazel clean | ||
workflow: | ||
- bazel build //packages/angular/cli:npm_package |
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
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