diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml new file mode 100644 index 000000000000..13fbce067b37 --- /dev/null +++ b/.github/workflows/perf.yml @@ -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 }} diff --git a/.ng-dev/dx-perf-workflows.yml b/.ng-dev/dx-perf-workflows.yml new file mode 100644 index 000000000000..959d2c6d9796 --- /dev/null +++ b/.ng-dev/dx-perf-workflows.yml @@ -0,0 +1,7 @@ +workflows: + build-adev: + name: Build cli + prepare: + - bazel clean + workflow: + - bazel build //packages/angular/cli:npm_package diff --git a/package.json b/package.json index 2e39abaf2278..e977d0f2a99d 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@angular/forms": "19.0.0", "@angular/localize": "19.0.0", "@angular/material": "19.0.0", - "@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#9ce48789f423d72fb6b8d766b63b7b6611bc9e80", + "@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#0004779f2460c3b030b056e9f4f2c5e921e11039", "@angular/platform-browser": "19.0.0", "@angular/platform-browser-dynamic": "19.0.0", "@angular/platform-server": "19.0.0", diff --git a/yarn.lock b/yarn.lock index 6f80d2116a53..c47cda4a1ff2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -638,7 +638,7 @@ __metadata: "@angular/forms": "npm:19.0.0" "@angular/localize": "npm:19.0.0" "@angular/material": "npm:19.0.0" - "@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#9ce48789f423d72fb6b8d766b63b7b6611bc9e80" + "@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#0004779f2460c3b030b056e9f4f2c5e921e11039" "@angular/platform-browser": "npm:19.0.0" "@angular/platform-browser-dynamic": "npm:19.0.0" "@angular/platform-server": "npm:19.0.0" @@ -850,9 +850,9 @@ __metadata: languageName: node linkType: hard -"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#9ce48789f423d72fb6b8d766b63b7b6611bc9e80": - version: 0.0.0-7a4326af255661a5c0d3fe44fabac5ff36585fad - resolution: "@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#commit=9ce48789f423d72fb6b8d766b63b7b6611bc9e80" +"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#0004779f2460c3b030b056e9f4f2c5e921e11039": + version: 0.0.0-01c8c16f830d02110c28640aea16f145a7937080 + resolution: "@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#commit=0004779f2460c3b030b056e9f4f2c5e921e11039" dependencies: "@octokit/rest": "npm:21.0.2" "@types/semver": "npm:^7.3.6" @@ -866,7 +866,7 @@ __metadata: yaml: "npm:2.6.1" bin: ng-dev: ./bundles/cli.mjs - checksum: 10c0/c9cc13c407c9adbc3308d897417f874f50172b318df56b0a9226d27237505fc762101ea719462aeb1f19505521fa474339c3baad8e9a7dc96852c2e1b589ee4b + checksum: 10c0/06103a9e62e0f21e2c7784efffb47e9a035a2be017e1c6c6c51f87417bc55fd79ccb7ba9d96a942b04635dbe8aab849355d97a1dd68861587a52ad8d1647ef77 languageName: node linkType: hard