Skip to content

Commit c5dee8f

Browse files
committed
ci: set up perf workflow job and create initial workflow
Set up the initial workflow to build upon.
1 parent 1ded0b7 commit c5dee8f

File tree

4 files changed

+55
-6
lines changed

4 files changed

+55
-6
lines changed

.github/workflows/perf.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Performance Tracking
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions: {}
9+
10+
defaults:
11+
run:
12+
shell: bash
13+
14+
jobs:
15+
list:
16+
timeout-minutes: 3
17+
runs-on: ubuntu-latest
18+
outputs:
19+
workflows: ${{ steps.workflows.outputs.workflows }}
20+
steps:
21+
- name: Initialize environment
22+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@53fb7c37cf14343f14ed79e2fefbbb2489ead4ee
23+
- name: Install node modules
24+
run: yarn install --immutable
25+
- id: workflows
26+
run: echo "workflows=$(yarn ng-dev perf workflows --list)" >> "$GITHUB_OUTPUT"
27+
28+
workflow:
29+
timeout-minutes: 30
30+
runs-on: ubuntu-latest
31+
needs: list
32+
strategy:
33+
matrix:
34+
workflow: ${{ fromJSON(needs.list.outputs.workflows) }}
35+
steps:
36+
- name: Initialize environment
37+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@53fb7c37cf14343f14ed79e2fefbbb2489ead4ee
38+
- name: Setup Bazel
39+
uses: angular/dev-infra/github-actions/bazel/setup@53fb7c37cf14343f14ed79e2fefbbb2489ead4ee
40+
- name: Install node modules
41+
run: yarn install --immutable
42+
- run: yarn ng-dev perf workflows --name ${{ matrix.workflow }}

.ng-dev/dx-perf-workflows.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
workflows:
2+
build-cli:
3+
name: Build cli
4+
prepare:
5+
- bazel clean
6+
workflow:
7+
- bazel build //packages/angular/cli:npm_package

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@angular/forms": "19.0.0",
6464
"@angular/localize": "19.0.0",
6565
"@angular/material": "19.0.0",
66-
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#9ce48789f423d72fb6b8d766b63b7b6611bc9e80",
66+
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#0004779f2460c3b030b056e9f4f2c5e921e11039",
6767
"@angular/platform-browser": "19.0.0",
6868
"@angular/platform-browser-dynamic": "19.0.0",
6969
"@angular/platform-server": "19.0.0",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ __metadata:
638638
"@angular/forms": "npm:19.0.0"
639639
"@angular/localize": "npm:19.0.0"
640640
"@angular/material": "npm:19.0.0"
641-
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#9ce48789f423d72fb6b8d766b63b7b6611bc9e80"
641+
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#0004779f2460c3b030b056e9f4f2c5e921e11039"
642642
"@angular/platform-browser": "npm:19.0.0"
643643
"@angular/platform-browser-dynamic": "npm:19.0.0"
644644
"@angular/platform-server": "npm:19.0.0"
@@ -850,9 +850,9 @@ __metadata:
850850
languageName: node
851851
linkType: hard
852852

853-
"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#9ce48789f423d72fb6b8d766b63b7b6611bc9e80":
854-
version: 0.0.0-7a4326af255661a5c0d3fe44fabac5ff36585fad
855-
resolution: "@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#commit=9ce48789f423d72fb6b8d766b63b7b6611bc9e80"
853+
"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#0004779f2460c3b030b056e9f4f2c5e921e11039":
854+
version: 0.0.0-01c8c16f830d02110c28640aea16f145a7937080
855+
resolution: "@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#commit=0004779f2460c3b030b056e9f4f2c5e921e11039"
856856
dependencies:
857857
"@octokit/rest": "npm:21.0.2"
858858
"@types/semver": "npm:^7.3.6"
@@ -866,7 +866,7 @@ __metadata:
866866
yaml: "npm:2.6.1"
867867
bin:
868868
ng-dev: ./bundles/cli.mjs
869-
checksum: 10c0/c9cc13c407c9adbc3308d897417f874f50172b318df56b0a9226d27237505fc762101ea719462aeb1f19505521fa474339c3baad8e9a7dc96852c2e1b589ee4b
869+
checksum: 10c0/06103a9e62e0f21e2c7784efffb47e9a035a2be017e1c6c6c51f87417bc55fd79ccb7ba9d96a942b04635dbe8aab849355d97a1dd68861587a52ad8d1647ef77
870870
languageName: node
871871
linkType: hard
872872

0 commit comments

Comments
 (0)