Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: angular/angular-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 20.0.0-next.2
Choose a base ref
...
head repository: angular/angular-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 20.0.0-next.3
Choose a head ref

Commits on Mar 20, 2025

  1. fix(@schematics/angular): remove empty scripts option value from ne…

    …w applications
    
    The `scripts` option with an empty array value has been removed from newly
    generated applications including with `ng new`. This option is less commonly
    used and can be added if needed by a project. The removal reduces the total
    size of the generated `angular.json`.
    clydin committed Mar 20, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    381d35f View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    hbomb79 Harry Felton
    Copy the full SHA
    d98aa28 View commit details
  3. docs(@angular/ssr): remove extra pipe from link in tsdocs

    This is not needed.
    alan-agius4 committed Mar 20, 2025
    Copy the full SHA
    5169f21 View commit details
  4. refactor: remove dependency on @angular/platform-browser-dynamic

    This commit remove the dependency on `@angular/platform-browser-dynamic` from new projects.
    
    This is now possible due to angular/angular#60453
    alan-agius4 committed Mar 20, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    hbomb79 Harry Felton
    Copy the full SHA
    2cc6b7f View commit details
  5. refactor: use platformBrowser instead of platformBrowserTesting

    `platformBrowserTesting` currently does not include the right providers. See: angular/angular#60480
    alan-agius4 committed Mar 20, 2025
    Copy the full SHA
    d89c2cb View commit details
  6. fix(@angular/build): correct handling of response/request errors

    Prior to this change, request errors were not handled correctly.
    
    Closes #29884
    alan-agius4 committed Mar 20, 2025
    Copy the full SHA
    156a14e View commit details
  7. feat(@angular/build): support a default outputPath option for applica…

    …tions
    
    The application builder will now use a default output path when the `outputPath`
    option is not specified either in the `angular.json` configuration or via
    the command line.  The default used will be `dist/<project_name>` and be
    relative to the workspace root. This value is the typical default for new projects.
    Projects may continue to customize the output path via the option if needed.
    Existing project behavior and configuration will not be changed.
    clydin committed Mar 20, 2025
    Copy the full SHA
    9b682e6 View commit details
  8. perf(@angular/ssr): flush headers prior to start rendering the HTML

    This change ensures that HTTP headers are flushed to the client before the server begins rendering the Angular application HTML. By flushing headers early, the server can inform the client of response metadata (e.g., status code, content type) immediately, improving performance and user experience.
    alan-agius4 committed Mar 20, 2025
    Copy the full SHA
    63428f3 View commit details
  9. build: move rxjs dependency out of root

    With the migration to `rules_js`, package specific dependencies now only
    need to be referenced with the source `package.json` for each specific
    package. The `rxjs` dependency has now been moved to usage locations instead
    of the root of the repository.
    clydin committed Mar 20, 2025
    Copy the full SHA
    58a39b4 View commit details

Commits on Mar 21, 2025

  1. Copy the full SHA
    4153bd8 View commit details
  2. refactor: replace dirname(fileURLToPath(import.meta.url)) with `imp…

    …ort.meta.dirname`
    
    This change is possible because we no longer support Node.js versions earlier than 20.11.0
    alan-agius4 committed Mar 21, 2025
    Copy the full SHA
    2a32030 View commit details
  3. fix(@schematics/angular): add type checking of host bindings to stric…

    …t config
    
    Adds the `typeCheckHostBindings` flag when the user has opted into strict type checking.
    crisbeto authored and clydin committed Mar 21, 2025
    Copy the full SHA
    9e6b9b5 View commit details
  4. fix(@angular/build): handle undefined getOrCreateAngularServerApp d…

    …uring error compilation
    
    Enhanced error handling to account for cases where `getOrCreateAngularServerApp` is undefined during the compilation process. This prevents unexpected crashes and improves build stability.
    
    Closes #29907
    alan-agius4 committed Mar 21, 2025
    Copy the full SHA
    a8817a3 View commit details
  5. perf(@angular/ssr): optimized request handling performance

    This commit refactors request handling logic, leading to significant performance improvements.
    
    **Benchmark**
    
    | Metric             | 19.2.x Branch         | Main Branch          | After Optimization  | Improvement vs 19.2.x | Improvement vs Main   |
    |--------------------|-----------------------|----------------------|---------------------|-----------------------|-----------------------|
    | Latency (Avg)      | 2473.94 ms            | 2655.35 ms           | 2385.85 ms          | ~3.6%                 | ~10.1%                |
    | Latency (50%)      | 2445.67 ms            | 2615 ms              | 2416.33 ms          | ~1.2%                 | ~7.6%                 |
    | Latency (97.5%)    | 2640.5 ms             | 3309 ms              | 2561.5 ms           | ~3.0%                 | ~22.6%                |
    | Req/Sec (Avg)      | 398.32                | 364.54               | 400.12              | ~0.4%                 | ~9.8%                 |
    | Bytes/Sec (Avg)    | 8.41 MB               | 7.7 MB               | 8.45 MB             | ~0.5%                 | ~9.7%                 |
    | Total Requests     | 13,000                | 12,000               | 13,000              | 0%                    | ~8.3%                 |
    
    **Test Details:**
    
    * **Command:** `npx autocannon -c 100 -d 30 -p 10 http://localhost:<port>`
    * **Parameters:**
        * `-c 100`: 100 concurrent connections
        * `-d 30`: 30 seconds duration
        * `-p 10`: 10 pipelining factor
    * **Iterations:** 3 tests were run on each of the Main Branch and the 19.2.x Branch, and 3 tests were run after optimization. Average of each set of tests was used for the comparison.
    * **Samples:** 30 samples were collected per test run for Req/Bytes counts.
    
    The optimized request handling logic (After Optimization) shows significant improvements across all key performance metrics compared to the original logic on the Main Branch. The regression observed in the Main Branch is attributed to the newly added header flushing logic.
    
    When compared to the 19.2.x branch, the optimized code delivers similar performance. Latency is slightly reduced, while request throughput (Req/Sec) and data transfer rate (Bytes/Sec) have seen a slight increase. The total number of requests handled remains consistent with the 19.2.x branch.
    alan-agius4 committed Mar 21, 2025
    Copy the full SHA
    6bd7b9b View commit details
  6. build: update angular

    angular-robot authored and clydin committed Mar 21, 2025
    Copy the full SHA
    eee6f3b View commit details
  7. fix(@schematics/angular): remove explicit outputPath option value f…

    …rom generated applications
    
    The `outputPath` option now defaults to `dist/<project_name>` for applications.
    This removes the need to explicitly set the option within a newly generated
    project. The value removal also reduces the overall size of the `angular.json`
    configuration for new projects. Existing projects are not modified by this
    change.
    clydin committed Mar 21, 2025
    Copy the full SHA
    a910fe9 View commit details
  8. Copy the full SHA
    1e478ed View commit details

Commits on Mar 24, 2025

  1. build: update angular

    angular-robot authored and alan-agius4 committed Mar 24, 2025
    Copy the full SHA
    4d49a66 View commit details
  2. Copy the full SHA
    e816d46 View commit details
  3. fix(@angular/cli): update minimum supported Node.js 22 version to 22.…

    …11.0
    
    For more details, see: #27674
    
    BREAKING CHANGE: Node.js versions from 22.0 to 22.10 are no longer supported
    alan-agius4 committed Mar 24, 2025
    Copy the full SHA
    6473253 View commit details
  4. build: lock file maintenance

    angular-robot authored and alan-agius4 committed Mar 24, 2025
    Copy the full SHA
    3f506f5 View commit details

Commits on Mar 25, 2025

  1. fix(@angular/build): normalize karma asset paths before lookup

    When handling a request for a configured asset with the application-
    based karma unit testing, the asset URL is now normalized to the
    executing platform's path format before looking up the asset. This
    is required due to the build file paths being based on the underlying
    operating system's paths which may not align with a URL's path separator
    such as when using Windows.
    clydin authored and alan-agius4 committed Mar 25, 2025
    Copy the full SHA
    bd917d9 View commit details
  2. Copy the full SHA
    922f176 View commit details
  3. Copy the full SHA
    911c124 View commit details
  4. Copy the full SHA
    80a778a View commit details
  5. feat(@angular/build): allow control of source map sources content for…

    … application builds
    
    The `sourceMap` option now contains an additional sub-option named `sourcesContent`
    that allows the exclusion of original file content from generated source maps.
    This option affects both JavaScript and stylesheet source maps. The value of the
    `sourcesContent` option defaults to `true`.
    
    Example usage to disable sources content:
    ```
        "sourceMap": {
            "scripts": true,
            "styles": true,
            "sourcesContent": false
        }
    ```
    clydin authored and alan-agius4 committed Mar 25, 2025
    Copy the full SHA
    c1de633 View commit details
  6. refactor(@angular/build): use newer Node.js cp API for asset copying

    When using Node.js v22 (minimum of v22.11 for v22 with Angular v20), the
    application build system will now use the Node.js `cp` filesystem API
    instead of the `copyFile` API. This newer API provides equivalent functionality
    while also preserving timestamps for copied assets.  Additionally, it supports
    potential future internal refactorings to support full direct directory
    copying.
    clydin authored and alan-agius4 committed Mar 25, 2025
    Copy the full SHA
    5c9b371 View commit details

Commits on Mar 26, 2025

  1. test: improve resilience of asset timestamp E2E test

    The test now uses an asset that is already on disk.
    Using an asset that was just written within the test
    may cause timestamps to not yet be synced to disk.
    clydin authored and alan-agius4 committed Mar 26, 2025
    Copy the full SHA
    1f62b28 View commit details
  2. test: ensure atime and mtime are rounded consistently in tests

    Node.js handles time precision differently, which may cause mtime-based tests to fail.
    
    This update ensures that atime and mtime values are rounded to the same precision,  preventing inconsistencies in file timestamp comparisons.
    alan-agius4 committed Mar 26, 2025
    Copy the full SHA
    2b73b72 View commit details
  3. Copy the full SHA
    a4d59d8 View commit details
  4. Copy the full SHA
    d2e5c1b View commit details
  5. docs: release notes for the v19.2.5 release

    alan-agius4 committed Mar 26, 2025
    Copy the full SHA
    bcfc1a3 View commit details
  6. release: cut the v20.0.0-next.3 release

    alan-agius4 committed Mar 26, 2025
    Copy the full SHA
    34c2530 View commit details
Showing with 1,283 additions and 959 deletions.
  1. +1 −1 .github/workflows/assistant-to-the-branch-manager.yml
  2. +23 −23 .github/workflows/ci.yml
  3. +2 −2 .github/workflows/codeql.yml
  4. +2 −2 .github/workflows/dev-infra.yml
  5. +1 −1 .github/workflows/feature-requests.yml
  6. +3 −3 .github/workflows/perf.yml
  7. +20 −20 .github/workflows/pr.yml
  8. +2 −2 .github/workflows/scorecard.yml
  9. +88 −0 CHANGELOG.md
  10. +12 −12 WORKSPACE
  11. +1 −1 constants.bzl
  12. +1 −1 goldens/public-api/angular/build/index.api.md
  13. +1 −1 modules/testing/builder/BUILD.bazel
  14. +2 −1 modules/testing/builder/package.json
  15. +2 −2 modules/testing/builder/projects/hello-world-app/src/main.ts
  16. +12 −14 package.json
  17. +3 −6 packages/angular/build/BUILD.bazel
  18. +8 −3 packages/angular/build/package.json
  19. +13 −1 packages/angular/build/src/builders/application/index.ts
  20. +1 −1 packages/angular/build/src/builders/application/options.ts
  21. +6 −1 packages/angular/build/src/builders/application/schema.json
  22. +1 −0 packages/angular/build/src/builders/application/setup-bundling.ts
  23. +2 −2 packages/angular/build/src/builders/application/tests/options/app-shell_spec.ts
  24. +76 −0 packages/angular/build/src/builders/application/tests/options/sourcemap_spec.ts
  25. +9 −1 packages/angular/build/src/builders/karma/application_builder.ts
  26. +4 −5 packages/angular/build/src/builders/karma/polyfills/init_test_bed.js
  27. +1 −0 packages/angular/build/src/tools/esbuild/application-code-bundle.ts
  28. +1 −0 packages/angular/build/src/tools/esbuild/global-styles.ts
  29. +2 −0 packages/angular/build/src/tools/esbuild/stylesheets/bundle-options.ts
  30. +6 −5 packages/angular/build/src/tools/vite/middlewares/ssr-middleware.ts
  31. +2 −0 packages/angular/build/src/utils/normalize-source-maps.ts
  32. +1 −1 packages/angular/build/src/utils/server-rendering/launch-server.ts
  33. +3 −3 packages/angular/build/src/utils/server-rendering/prerender.ts
  34. +25 −19 packages/angular/ssr/src/app.ts
  35. +1 −1 packages/angular/ssr/src/routes/route-config.ts
  36. +68 −22 packages/angular/ssr/src/utils/ng.ts
  37. +2 −2 packages/angular_devkit/architect/BUILD.bazel
  38. +2 −2 packages/angular_devkit/architect/node/BUILD.bazel
  39. +1 −1 packages/angular_devkit/architect/testing/BUILD.bazel
  40. +3 −4 packages/angular_devkit/build_angular/BUILD.bazel
  41. +6 −2 packages/angular_devkit/build_angular/package.json
  42. +2 −2 packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts
  43. +2 −7 packages/angular_devkit/build_angular/src/builders/browser/specs/lazy-module_spec.ts
  44. +2 −2 packages/angular_devkit/build_angular/src/builders/browser/specs/rebuild_spec.ts
  45. +2 −2 packages/angular_devkit/build_angular/src/builders/browser/specs/web-worker_spec.ts
  46. +4 −5 packages/angular_devkit/build_angular/src/builders/jest/init-test-bed.mjs
  47. +4 −5 packages/angular_devkit/build_angular/src/builders/karma/browser_builder.ts
  48. +4 −5 packages/angular_devkit/build_angular/src/builders/web-test-runner/jasmine_runner.js
  49. +1 −2 packages/angular_devkit/build_webpack/BUILD.bazel
  50. +2 −2 packages/angular_devkit/build_webpack/test/angular-app/src/main.ts
  51. +2 −2 packages/angular_devkit/core/BUILD.bazel
  52. +2 −2 packages/angular_devkit/core/node/BUILD.bazel
  53. +1 −1 packages/angular_devkit/core/node/testing/BUILD.bazel
  54. +2 −2 packages/angular_devkit/schematics/BUILD.bazel
  55. +1 −1 packages/angular_devkit/schematics/tasks/BUILD.bazel
  56. +1 −1 packages/angular_devkit/schematics/tasks/node/BUILD.bazel
  57. +1 −1 packages/angular_devkit/schematics/testing/BUILD.bazel
  58. +2 −2 packages/angular_devkit/schematics/tools/BUILD.bazel
  59. +0 −3 packages/schematics/angular/application/index.ts
  60. +2 −4 packages/schematics/angular/ssr/files/application-builder/server.ts.template
  61. +3 −6 packages/schematics/angular/ssr/index.ts
  62. +3 −3 packages/schematics/angular/ssr/index_spec.ts
  63. +0 −1 packages/schematics/angular/workspace/files/package.json.template
  64. +1 −0 packages/schematics/angular/workspace/files/tsconfig.json.template
  65. +734 −663 pnpm-lock.yaml
  66. +1 −2 scripts/build-packages-dist.mts
  67. +2 −3 scripts/build-schema.mts
  68. +2 −3 scripts/build.mts
  69. +2 −2 scripts/create.mts
  70. +2 −3 scripts/devkit-admin.mts
  71. +1 −2 scripts/json-help.mts
  72. +1 −2 scripts/snapshots.mts
  73. +1 −2 scripts/templates.mts
  74. +1 −2 scripts/validate-user-analytics.mts
  75. +1 −2 tests/legacy-cli/e2e/assets/ssr-project-webpack/package.json
  76. +2 −4 tests/legacy-cli/e2e/assets/ssr-project-webpack/src/main.ts
  77. +16 −16 tests/legacy-cli/e2e/ng-snapshot/package.json
  78. +40 −10 tests/legacy-cli/e2e/tests/build/assets.ts
  79. +1 −0 tests/legacy-cli/e2e/tests/build/jit-ngmodule.ts
  80. +1 −0 tests/legacy-cli/e2e/tests/build/rebuild-dot-dirname.ts
  81. +1 −0 tests/legacy-cli/e2e/tests/build/relative-sourcemap.ts
  82. +2 −2 tests/legacy-cli/e2e/tests/build/server-rendering/express-engine-ngmodule.ts
  83. +2 −4 tests/legacy-cli/e2e/tests/build/server-rendering/server-routes-output-mode-static-http-calls.ts
  84. +2 −4 tests/legacy-cli/e2e/tests/vite/ssr-entry-express.ts
  85. +1 −1 tests/legacy-cli/e2e/utils/BUILD.bazel
  86. +2 −3 tests/legacy-cli/e2e/utils/project.ts
  87. +1 −0 tests/package.json
2 changes: 1 addition & 1 deletion .github/workflows/assistant-to-the-branch-manager.yml
Original file line number Diff line number Diff line change
@@ -16,6 +16,6 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: angular/dev-infra/github-actions/branch-manager@27078026111b01a7202449e9788ce38f2b2e103f
- uses: angular/dev-infra/github-actions/branch-manager@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
46 changes: 23 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Generate JSON schema types
@@ -42,11 +42,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Build release targets
@@ -57,11 +57,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Run module and package tests
@@ -81,13 +81,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Run CLI E2E tests
run: pnpm bazel test --test_env=E2E_SHARD_TOTAL=6 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.${{ matrix.subset }}_node${{ matrix.node }}

@@ -102,7 +102,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Run CLI E2E tests
uses: ./.github/shared-actions/windows-bazel-test
with:
@@ -123,13 +123,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Run CLI E2E tests
run: pnpm bazel test --test_env=E2E_SHARD_TOTAL=3 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.${{ matrix.subset }}_node${{ matrix.node }}

@@ -145,13 +145,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Run CLI E2E tests
run: pnpm bazel test --test_env=E2E_SHARD_TOTAL=6 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.snapshots.${{ matrix.subset }}_node${{ matrix.node }}

@@ -163,13 +163,13 @@ jobs:
SAUCE_TUNNEL_IDENTIFIER: angular-cli-${{ github.workflow }}-${{ github.run_number }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Run E2E Browser tests
env:
SAUCE_USERNAME: ${{ vars.SAUCE_USERNAME }}
@@ -184,7 +184,7 @@ jobs:
./scripts/saucelabs/wait-for-tunnel.sh
pnpm bazel test --config=saucelabs //tests/legacy-cli:e2e.saucelabs
./scripts/saucelabs/stop-tunnel.sh
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: ${{ failure() }}
with:
name: sauce-connect-log
@@ -197,11 +197,11 @@ jobs:
CIRCLE_BRANCH: ${{ github.ref_name }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- run: pnpm admin snapshots --verbose
env:
SNAPSHOT_BUILDS_GITHUB_TOKEN: ${{ secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -23,12 +23,12 @@ jobs:
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
with:
languages: javascript-typescript
build-mode: none
config-file: .github/codeql/config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
with:
category: '/language:javascript-typescript'
4 changes: 2 additions & 2 deletions .github/workflows/dev-infra.yml
Original file line number Diff line number Diff line change
@@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: angular/dev-infra/github-actions/commit-message-based-labels@27078026111b01a7202449e9788ce38f2b2e103f
- uses: angular/dev-infra/github-actions/commit-message-based-labels@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
post_approval_changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: angular/dev-infra/github-actions/post-approval-changes@27078026111b01a7202449e9788ce38f2b2e103f
- uses: angular/dev-infra/github-actions/post-approval-changes@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/feature-requests.yml
Original file line number Diff line number Diff line change
@@ -16,6 +16,6 @@ jobs:
if: github.repository == 'angular/angular-cli'
runs-on: ubuntu-latest
steps:
- uses: angular/dev-infra/github-actions/feature-request@27078026111b01a7202449e9788ce38f2b2e103f
- uses: angular/dev-infra/github-actions/feature-request@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
6 changes: 3 additions & 3 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ jobs:
workflows: ${{ steps.workflows.outputs.workflows }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- id: workflows
@@ -38,9 +38,9 @@ jobs:
workflow: ${{ fromJSON(needs.list.outputs.workflows) }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
# We utilize the google-github-actions/auth action to allow us to get an active credential using workflow
40 changes: 20 additions & 20 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -34,9 +34,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup ESLint Caching
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: .eslintcache
key: ${{ runner.os }}-${{ hashFiles('.eslintrc.json') }}
@@ -54,7 +54,7 @@ jobs:
- name: Run Validation
run: pnpm admin validate
- name: Check Package Licenses
uses: angular/dev-infra/github-actions/linting/licenses@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/linting/licenses@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Check tooling setup
run: pnpm check-tooling-setup
- name: Check commit message
@@ -70,17 +70,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Build release targets
run: pnpm ng-dev release build
- name: Store PR release packages
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: packages
path: dist/releases/*.tgz
@@ -91,11 +91,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Run module and package tests
@@ -115,13 +115,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Run CLI E2E tests
run: pnpm bazel test --test_env=E2E_SHARD_TOTAL=6 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.${{ matrix.subset }}_node${{ matrix.node }}

@@ -130,7 +130,7 @@ jobs:
runs-on: windows-2025
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Run CLI E2E tests
uses: ./.github/shared-actions/windows-bazel-test
with:
@@ -149,13 +149,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Run CLI E2E tests
run: pnpm bazel test --test_env=E2E_SHARD_TOTAL=3 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.${{ matrix.subset }}_node${{ matrix.node }}

@@ -172,12 +172,12 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Install node modules
run: pnpm install --frozen-lockfile
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/setup@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
uses: angular/dev-infra/github-actions/bazel/configure-remote@ad960c29189d0bfccbd35c4d47d3d7bff9da3666
- name: Run CLI E2E tests
run: pnpm bazel test --test_env=E2E_SHARD_TOTAL=6 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.snapshots.${{ matrix.subset }}_node${{ matrix.node }}
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -38,14 +38,14 @@ jobs:

# Upload the results as artifacts.
- name: 'Upload artifact'
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: 'Upload to code-scanning'
uses: github/codeql-action/upload-sarif@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
with:
sarif_file: results.sarif
Loading