Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
195 commits
Select commit Hold shift + click to select a range
d746de5
fix(@angular-devkit/build-angular): bring back style tags in browser …
hybrist Nov 15, 2024
5d79ab7
fix(@angular-devkit/build-angular): fix hanging terminal when `browse…
dgp1130 Nov 16, 2024
9921271
fix(@angular/build): fully disable component style HMR in JIT mode
clydin Nov 18, 2024
160dee3
fix(@schematics/angular): don't show server routing prompt when using…
dgp1130 Nov 16, 2024
d3dd8f0
fix(@angular/ssr): use wildcard server route configuration on the '/'…
dgp1130 Nov 16, 2024
b124a28
docs: release notes for the v19.0.0-rc.3 release
dgp1130 Nov 18, 2024
23dac18
build: update Angular packages to v19 stable
clydin Nov 18, 2024
f0a5af0
docs: release notes for the v19.0.0 release
clydin Nov 19, 2024
19b21d2
build: update angular
angular-robot Nov 19, 2024
148af6e
build: lock file maintenance
angular-robot Nov 18, 2024
4d437ec
fix(@angular/build): ensure accurate content length for server assets
alan-agius4 Nov 20, 2024
1bc5d65
build: update angular
angular-robot Nov 20, 2024
8c534da
fix(@angular/ssr): handle baseHref that start with `./`
alan-agius4 Nov 20, 2024
96d604f
refactor(@angular/build): add initial infrastructure to support inlin…
clydin Nov 21, 2024
a6eaf2f
refactor(@angular/build): adjust code to propagate errors from Piscina
alan-agius4 Nov 21, 2024
83b32a6
test: add end-to-end tests for SSR setup
alan-agius4 Nov 21, 2024
a9a871c
fix(@angular-devkit/build-angular): use stylePreprocessorOptions
cexbrayat Nov 20, 2024
1ded0b7
fix(@angular/build): use `sha256` instead of `sha-256` as hash algori…
clydin Nov 21, 2024
fe1af9f
build: update all non-major dependencies
angular-robot Nov 20, 2024
cda4758
build: update angular
angular-robot Nov 21, 2024
02db6a2
build: update github/codeql-action action to v3.27.5
angular-robot Nov 21, 2024
f36b13a
docs: release notes for the v19.0.1 release
dgp1130 Nov 21, 2024
34574b2
fix(@angular/ssr): handle nested redirects not explicitly defined in …
alan-agius4 Nov 22, 2024
a533465
ci: set up perf workflow job and create initial workflow
josephperrott Nov 21, 2024
e7d3b72
build: update angular
angular-robot Nov 22, 2024
20411f6
refactor(@angular/ssr): replace `:params` with `*`
alan-agius4 Nov 22, 2024
462e73f
ci: update perf workflow to the latest version
josephperrott Nov 25, 2024
e01d329
build: update angular
angular-robot Nov 25, 2024
7ff9334
refactor(@angular/ssr): use appRef.whenStable instead of util functio…
sheikalthaf Nov 23, 2024
bccdf77
build: lock file maintenance
angular-robot Nov 25, 2024
399bbb7
build: update all non-major dependencies
angular-robot Nov 25, 2024
7b0aa3d
ci: add @angular/build integration test to workflows
josephperrott Nov 25, 2024
8f9fc59
fix(@angular/build): minimize reliance on esbuild `inject` to prevent…
alan-agius4 Nov 25, 2024
173dc0e
fix(@schematics/angular): skip SSR routing prompt in webcontainer
dgp1130 Nov 22, 2024
5320e87
refactor(@angular/build): maintain previous compiler plugin factory s…
clydin Nov 25, 2024
c685c70
fix(@angular/build): prevent errors with parameterized routes when `g…
alan-agius4 Nov 25, 2024
11289c4
docs: release notes for the v19.0.2 release
clydin Nov 25, 2024
c81dd81
fix(@angular/build): allow .json file replacements with application b…
clydin Nov 25, 2024
6714d90
ci: use pinned version for google-github-actions/auth action
clydin Nov 25, 2024
18041aa
build: update to vite version 6
alan-agius4 Nov 26, 2024
3dd3b22
fix(@angular/ssr): ensure compatibility for `Http2ServerResponse` type
alan-agius4 Nov 26, 2024
7554cc1
build: update angular
angular-robot Nov 26, 2024
3a22d44
build: update all non-major dependencies
angular-robot Nov 27, 2024
4ef45ec
fix(@angular/cli): correctly select package versions in descending or…
alan-agius4 Nov 27, 2024
32d2e2d
docs: readme
sashaphmn Nov 20, 2024
aed726f
fix(@angular/build): add timeout to route extraction
alan-agius4 Nov 27, 2024
3829b86
build: update dependency undici to v7
angular-robot Nov 28, 2024
692e990
docs(@angular/cli): update angular-eslint reference (#29001)
JamesHenry Dec 2, 2024
af87780
fix(@schematics/angular): add required type to `CanDeactivate` guard …
guiseek Dec 2, 2024
42e16dd
refactor(@angular/ssr): mark `@angular/platform-server` as optional
alan-agius4 Dec 2, 2024
4e5585a
build: update Angular packages to version 19.1.x
alan-agius4 Dec 2, 2024
994a782
build: update all non-major dependencies
angular-robot Dec 2, 2024
3d1c52b
build: update angular
angular-robot Dec 2, 2024
4d466bf
build: update to TypeScript 5.7
crisbeto Dec 2, 2024
ea2075a
build: update dependency tar to v7
alan-agius4 Dec 2, 2024
e4448bb
fix(@angular/ssr): correctly handle serving of prerendered i18n pages
alan-agius4 Nov 28, 2024
5bd937b
fix(@angular/build): apply define option to JavaScript from scripts o…
clydin Dec 2, 2024
d095498
build: update schematics dependencies to ~5.5.0
angular-robot Dec 3, 2024
c9a8049
ci: run workflows for all releasable branches
josephperrott Dec 2, 2024
d675955
ci: disable the `angular-build-integration` perf workflow test
josephperrott Dec 2, 2024
d96b096
build: update all non-major dependencies
angular-robot Dec 3, 2024
ca757c9
build: update angular
angular-robot Dec 3, 2024
686c51a
build: lock file maintenance
angular-robot Dec 3, 2024
97897b7
fix(@angular/build): ensure correct handling of `index.output` for SSR
alan-agius4 Dec 3, 2024
cd5e119
ci: add addtional perf workflows for tracking
josephperrott Dec 2, 2024
a8ea9cf
fix(@angular/build): avoid deploy URL usage on absolute preload links
clydin Dec 3, 2024
378624d
refactor(@angular/build): add initial component HMR source file analysis
clydin Nov 23, 2024
480cba5
build: update github/codeql-action action to v3.27.6
angular-robot Dec 4, 2024
4db4dd4
refactor(@angular/ssr): replace `Map` with `Record` in SSR manifest
alan-agius4 Dec 4, 2024
f2571b3
build: update all non-major dependencies
alan-agius4 Dec 4, 2024
f897b7a
fix(@angular/ssr): apply HTML transformation to CSR responses
alan-agius4 Dec 4, 2024
443fd53
docs: release notes for the v19.0.3 release
alan-agius4 Dec 4, 2024
643b93a
test: Introduce delay for file write to minimize flakiness
alan-agius4 Dec 4, 2024
c8955ff
release: cut the v19.1.0-next.0 release
alan-agius4 Dec 4, 2024
da1df2d
test: disable colors in vite tests
alan-agius4 Dec 4, 2024
15a48a3
build: pin `@angular/` deps
alan-agius4 Dec 4, 2024
75998eb
perf(@angular/build): reuse TS package.json cache when rebuilding
clydin Dec 4, 2024
eb0f4f2
ci: update to latest version of dev-infra actions
josephperrott Dec 5, 2024
1ca260e
docs(@angular/ssr): remove duplicate `@return` comment
alan-agius4 Dec 5, 2024
9e2d3fb
fix(@angular-devkit/build-angular): handle windows spec collisions
hybrist Dec 4, 2024
f717a54
build: update angular
angular-robot Dec 5, 2024
c832bac
fix(@angular/build): show error when Node.js built-ins are used durin…
alan-agius4 Dec 5, 2024
2c2ac84
docs: release notes for the v19.0.4 release
alan-agius4 Dec 5, 2024
b8b561d
refactor(@angular/build): move `getDepOptimizationConfig` into utils …
alan-agius4 Dec 5, 2024
fb41d18
fix(@angular-devkit/build-angular): fix webpack config transform for …
hybrist Dec 5, 2024
6647247
test(@angular/ssr): refine spec setup to resolve component ID collisi…
alan-agius4 Dec 5, 2024
ffad81a
build: update all non-major dependencies
angular-robot Dec 6, 2024
120f088
build: update angular
angular-robot Dec 6, 2024
d7214e9
fix(@angular/ssr): include `Content-Language` header when locale is set
alan-agius4 Dec 6, 2024
0a570c0
feat(@angular/build): add support for customizing URL segments with i18n
alan-agius4 Dec 7, 2024
e126bf9
build: update all non-major dependencies
angular-robot Dec 8, 2024
28bdbeb
revert: fix(@angular/build): show error when Node.js built-ins are us…
alan-agius4 Dec 9, 2024
d811a7f
fix(@angular/build): handle external `@angular/` packages during SSR …
alan-agius4 Dec 9, 2024
bd90271
build: update angular
angular-robot Dec 9, 2024
faa710e
build: lock file maintenance
angular-robot Dec 9, 2024
8d7a51d
feat(@angular/ssr): add `modulepreload` for lazy-loaded routes
alan-agius4 Dec 10, 2024
41ece63
feat(@angular/ssr): redirect to preferred locale when accessing root …
alan-agius4 Dec 10, 2024
43127dd
refactor(@angular/build): add `globalThis['ngServerMode']` only when …
alan-agius4 Dec 10, 2024
0d2c648
build: update angular
angular-robot Dec 10, 2024
210bf4e
fix(@angular/build): Fixing auto-csp edge cases where
aaronshim Nov 28, 2024
6eed460
refactor(@angular/ssr): move ignored messages as a global
alan-agius4 Dec 11, 2024
f35a510
build: update angular
angular-robot Dec 11, 2024
3e7ec63
build: update github/codeql-action action to v3.27.7
angular-robot Dec 11, 2024
12f2026
build: update all non-major dependencies
angular-robot Dec 11, 2024
8875998
fix(@angular/build): use consistent path separators for template HMR …
clydin Dec 11, 2024
10a5b8b
fix(@angular/ssr): disable component bootstrapping during route extra…
alan-agius4 Dec 11, 2024
64f32c7
fix(@angular/build): provide component HMR update modules to dev-serv…
clydin Dec 11, 2024
615428b
build: update angular
angular-robot Dec 12, 2024
2b8a02b
feat(@angular-devkit/architect): require build schemas from modules
realtimetodie Dec 8, 2024
d5ea0f1
docs: release notes for the v19.0.5 release
clydin Dec 12, 2024
7fda6b5
release: cut the v19.1.0-next.1 release
hybrist Dec 12, 2024
c66782b
refactor(@angular/build): only load chunk optimizer if enabled
clydin Dec 12, 2024
f6b8c5e
test: e2e tests for autoCsp
aaronshim Oct 23, 2024
5295d4d
build: update github/codeql-action action to v3.27.9
angular-robot Dec 13, 2024
7069c3b
build: update dependency sass to v1.83.0
angular-robot Dec 13, 2024
8d35b9b
build: update angular
angular-robot Dec 13, 2024
a9a3470
fix(@angular-devkit/build-angular): jasmine.clock with app builder
hybrist Dec 10, 2024
1d6d264
build: update angular
angular-robot Dec 14, 2024
78c41f6
refactor(@angular/ssr): add timeout to prevent 'adev' hanging during …
alan-agius4 Dec 16, 2024
1bf9381
fix(@angular/ssr): correctly resolve pre-transform resources in Vite …
alan-agius4 Dec 16, 2024
183f772
build: update to bazel 6
devversion Nov 15, 2024
f22d4ee
build: setup `rules_js` and link dependencies
devversion Nov 18, 2024
afc75ce
build: setup `rules_ts` for compiling TypeScript sources
devversion Nov 18, 2024
369a5fa
build: create `ts_project` interop allowing for incremental migration
devversion Nov 21, 2024
620671d
build: update to more improved `copy_to_bin` rule.
devversion Nov 22, 2024
a19a72d
build: migrate `angular-devkit/architect` to `ts_project`
devversion Nov 22, 2024
3af88fe
test: update chunk file name to reflect new name
devversion Nov 22, 2024
dcd8172
build: remove cpp toolchain as it's no longer needed in Bazel 6
devversion Nov 25, 2024
8d54c09
ci: remove extraneous imports lint rule as it doesnt work in monorepo…
devversion Nov 26, 2024
6006f59
build: workaround aspect bazel lib `tar.gz` windows issue
devversion Nov 26, 2024
4100402
build: rename `//:node_modules` to root modules
devversion Nov 26, 2024
417ef7a
refactor: remove unnecessary type conversion failing lint
devversion Nov 26, 2024
ad450e3
build: add missing path mapping for `build-webpack` import causing li…
devversion Nov 26, 2024
c701acb
build: use worker for `ts_project` to enable fast DX and avoid no-san…
devversion Nov 29, 2024
04213c8
build: update rules_rs_dependencies to 5.7.2
josephperrott Dec 13, 2024
b1500d3
build: update npm_translate_lock and update to to typescript 5.7.2
josephperrott Dec 13, 2024
e4ff5c9
ci: sync package locks information for aspect with renovate
alan-agius4 Dec 16, 2024
59985c2
ci: ignore changes to `.yarn/releases`
alan-agius4 Dec 16, 2024
2f51b66
ci: disable `pnpm-lock.yaml` update via renovate
alan-agius4 Dec 16, 2024
e5c66f5
ci: ignore pnpm lock file update from renovate
alan-agius4 Dec 16, 2024
19bb2d4
fix(@angular/build): force HTTP/1.1 in dev-server SSR with SSL
alan-agius4 Dec 16, 2024
3b7e6a8
fix(@angular/build): invalidate component template updates with dev-s…
clydin Dec 12, 2024
298b554
feat(@angular/build): enable component template hot replacement by de…
clydin Dec 11, 2024
d5476ee
build: update `engines` field in `package.json`
alan-agius4 Dec 17, 2024
653b5c4
ci: remove `ignorePaths` paths for `pnpm-lock.yaml`
alan-agius4 Dec 17, 2024
fbcb913
build: workaround for `ERROR: An error occurred during the fetch of r…
alan-agius4 Dec 17, 2024
e5ed172
ci: disable renovate updates for placeholder versions
alan-agius4 Dec 17, 2024
0fee027
ci: update `yarn` command
alan-agius4 Dec 17, 2024
7a0adb9
build: migrate remaining `angular-devkit/architect` to `ts_project`
devversion Dec 17, 2024
f728f2f
build: migrate `angular-devkit/architect-cli` to `ts_project`
devversion Dec 17, 2024
bd90bf7
ci: force post upgrade task command for syncing pnpm lock file to exi…
josephperrott Dec 17, 2024
e536a9b
build: update angular
angular-robot Dec 17, 2024
339ffd4
build: update dependency npm to v11
angular-robot Dec 17, 2024
2a12f87
ci: restore `pnpm-lock.yaml` that was updated by renovate
alan-agius4 Dec 17, 2024
60c79c0
build: lock file maintenance
angular-robot Dec 17, 2024
f7c0a83
refactor(@angular/ssr): mark `LINK_LOAD_SCRIPT_CONTENT` as `@PURE`
alan-agius4 Dec 17, 2024
ad1d7d7
fix(@angular/ssr): ensure correct `Location` header for redirects beh…
alan-agius4 Dec 17, 2024
fe1ae69
fix(@angular-devkit/architect): avoid Node.js resolution for relative…
clydin Dec 17, 2024
1aed687
build: update angular
angular-robot Dec 18, 2024
938bd4a
build: update actions/upload-artifact action to v4.5.0
angular-robot Dec 18, 2024
d99e4ed
docs: release notes for the v19.0.6 release
dgp1130 Dec 18, 2024
86c8c52
release: cut the v19.1.0-next.2 release
dgp1130 Dec 18, 2024
07a8bce
build: update angular
angular-robot Dec 19, 2024
307eda1
test: disable WTR e2e test
alan-agius4 Dec 19, 2024
0718e1b
test: add `--disable-dev-shm-usage` to address `WebDriverError: unkno…
alan-agius4 Dec 19, 2024
83f7457
test: add `resolve/test/list-exports` to false positive in postinstal…
alan-agius4 Dec 19, 2024
0b378d8
test: add false positive postinstall script
alan-agius4 Dec 19, 2024
9479484
build: update all non-major dependencies
angular-robot Dec 19, 2024
3feecdd
fix(@angular/ssr): disable component boostrapping when running route …
alan-agius4 Dec 19, 2024
cdf5d86
build: improve ts_project hybrid interop with node modules
devversion Dec 17, 2024
b6268f7
build: migrate `build_angular` to `ts_project`
devversion Dec 19, 2024
4053310
Revert "test: update chunk file name to reflect new name"
devversion Dec 19, 2024
46306ac
build: update angular
angular-robot Dec 19, 2024
5cc62d4
fix(@angular/build): mitigate JS transformer worker execArgv errors
clydin Dec 20, 2024
13e233a
build: set a mnemonic for template expand and file write
josephperrott Dec 20, 2024
673388a
ci: ensure passing build before rest of CI jobs
clydin Dec 20, 2024
d581c54
Revert "build: set a mnemonic for template expand and file write"
josephperrott Dec 20, 2024
916979c
fix(@angular-devkit/build-angular): preserve css type for jasmine.css
hybrist Dec 19, 2024
f139a02
ci: ensure passing test job before E2E jobs
clydin Dec 20, 2024
ac97292
build: update all non-major dependencies
angular-robot Dec 20, 2024
af629c5
build: migrate `@ngtools/webpack` to `ts_project`
clydin Dec 20, 2024
74fffba
build: update github/codeql-action action to v3.28.0
angular-robot Dec 21, 2024
4bef5a2
build: update angular
angular-robot Dec 21, 2024
b4e9a2a
build: migrate `@angular-devkit/build-webpack` to `ts_project`
clydin Dec 20, 2024
dfe9c6a
build: migrate `angular_devkit/core` to `ts_project`
devversion Dec 23, 2024
5f04d68
build: migrate `@angular/create` to `ts_project`
clydin Dec 23, 2024
099b5a7
build: update all non-major dependencies
angular-robot Dec 21, 2024
adae1e8
ci: ensure passing build before rest of PR jobs
clydin Dec 21, 2024
2888673
build: migrate modules/testing to ts_project
clydin Dec 23, 2024
d4a4bc8
build: migrate `@schematics/angular` to `ts_project`
clydin Dec 23, 2024
0d9a835
build: migrate `@angular-devkit/schematics-cli` to `ts_project`
clydin Dec 23, 2024
8a87ff8
build: migrate `@angular/cli` to `ts_project`
clydin Dec 23, 2024
7348e8c
build: migrate `@angular/pwa` to `ts_project`
clydin Dec 23, 2024
9b883fe
build: migrate `@angular/build` to `ts_project`
devversion Dec 24, 2024
c40d726
build: migrate E2E tests to `ts_project`
clydin Dec 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @generated
# Input hashes for repository rule npm_translate_lock(name = "npm2", pnpm_lock = "@//:pnpm-lock.yaml").
# This file should be checked into version control along with the pnpm-lock.yaml file.
.npmrc=-2023857461
package.json=1733430966
pnpm-lock.yaml=-703346517
pnpm-workspace.yaml=1711114604
yarn.lock=-931254131
6 changes: 4 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Disable NG CLI TTY mode
build --action_env=NG_FORCE_TTY=false

# Required by `rules_ts`.
common --@aspect_rules_ts//ts:skipLibCheck=always
common --@aspect_rules_ts//ts:default_to_tsc_transpiler

# Make TypeScript compilation fast, by keeping a few copies of the compiler
# running as daemons, and cache SourceFile AST's to reduce parse time.
build --strategy=TypeScriptCompile=worker
Expand Down Expand Up @@ -129,8 +133,6 @@ build:remote --jobs=150

# Setup the toolchain and platform for the remote build execution. The platform
# is provided by the shared dev-infra package and targets k8 remote containers.
build:remote --crosstool_top=@npm//@angular/build-tooling/bazel/remote-execution/cpp:cc_toolchain_suite
build:remote --extra_toolchains=@npm//@angular/build-tooling/bazel/remote-execution/cpp:cc_toolchain
build:remote --extra_execution_platforms=@npm//@angular/build-tooling/bazel/remote-execution:platform_with_network
build:remote --host_platform=@npm//@angular/build-tooling/bazel/remote-execution:platform_with_network
build:remote --platforms=@npm//@angular/build-tooling/bazel/remote-execution:platform_with_network
Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.4.1
6.5.0
2 changes: 0 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"import/newline-after-import": "error",
"import/no-absolute-path": "error",
"import/no-duplicates": "error",
"import/no-extraneous-dependencies": ["off", { "devDependencies": false }],
"import/no-unassigned-import": ["error", { "allow": ["symbol-observable"] }],
"import/order": [
"error",
Expand Down Expand Up @@ -142,7 +141,6 @@
{
"files": ["!packages/**", "**/*_spec.ts"],
"rules": {
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"max-lines-per-function": "off",
"no-case-declarations": "off",
"no-console": "off"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/assistant-to-the-branch-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: angular/dev-infra/github-actions/branch-manager@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
- uses: angular/dev-infra/github-actions/branch-manager@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
62 changes: 34 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Install node modules
run: yarn install --immutable
- name: Generate JSON schema types
Expand All @@ -42,31 +42,35 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/setup@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/configure-remote@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Install node modules
run: yarn install --immutable
- name: Build release targets
run: yarn ng-dev release build

test:
needs: build
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/setup@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/configure-remote@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Install node modules
run: yarn install --immutable
- name: Run module and package tests
run: yarn bazel test //modules/... //packages/...
env:
ASPECT_RULES_JS_FROZEN_PNPM_LOCK: '1'

e2e:
needs: test
strategy:
fail-fast: false
matrix:
Expand All @@ -75,12 +79,6 @@ jobs:
subset: [npm, esbuild]
shard: [0, 1, 2, 3, 4, 5]
exclude:
# Skip yarn subset on Windows
- os: windows-latest
subset: yarn
# Skip pnpm subset on Windows
- os: windows-latest
subset: pnpm
# Skip Node.js v18 tests on Windows
- os: windows-latest
node: 18
Expand All @@ -89,18 +87,23 @@ jobs:
node: 20
runs-on: ${{ matrix.os }}
steps:
# Workaround for: https://github.com/bazel-contrib/bazel-lib/issues/968.
# TODO(devversion): Remove when Aspect lib issue is fixed.
- run: choco install gzip
if: ${{matrix.os == 'windows-latest'}}
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Install node modules
run: yarn install --immutable
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/setup@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/configure-remote@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Run CLI E2E tests
run: yarn bazel test --define=E2E_SHARD_TOTAL=6 --define=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.${{ matrix.subset }}_node${{ matrix.node }}

e2e-package-managers:
needs: test
strategy:
fail-fast: false
matrix:
Expand All @@ -111,17 +114,18 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Install node modules
run: yarn install --immutable
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/setup@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/configure-remote@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Run CLI E2E tests
run: yarn bazel test --define=E2E_SHARD_TOTAL=3 --define=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.${{ matrix.subset }}_node${{ matrix.node }}

e2e-snapshots:
needs: test
strategy:
fail-fast: false
matrix:
Expand All @@ -132,30 +136,31 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Install node modules
run: yarn install --immutable
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/setup@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/configure-remote@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Run CLI E2E tests
run: yarn bazel test --define=E2E_SHARD_TOTAL=6 --define=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.snapshots.${{ matrix.subset }}_node${{ matrix.node }}

browsers:
needs: build
runs-on: ubuntu-latest
name: Browser Compatibility Tests
env:
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@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Install node modules
run: yarn install --immutable
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/setup@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/configure-remote@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Run E2E Browser tests
env:
SAUCE_USERNAME: ${{ vars.SAUCE_USERNAME }}
Expand All @@ -170,23 +175,24 @@ jobs:
./scripts/saucelabs/wait-for-tunnel.sh
yarn bazel test --config=saucelabs //tests/legacy-cli:e2e.saucelabs
./scripts/saucelabs/stop-tunnel.sh
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: ${{ failure() }}
with:
name: sauce-connect-log
path: ${{ env.SAUCE_CONNECT_DIR_IN_HOST }}/sauce-connect.log

publish-snapshots:
needs: build
runs-on: ubuntu-latest
env:
CIRCLE_BRANCH: ${{ github.ref_name }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Install node modules
run: yarn install --immutable
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
uses: angular/dev-infra/github-actions/bazel/setup@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- run: yarn admin snapshots --verbose
env:
SNAPSHOT_BUILDS_GITHUB_TOKEN: ${{ secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/dev-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
- uses: angular/dev-infra/github-actions/commit-message-based-labels@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
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@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
- uses: angular/dev-infra/github-actions/post-approval-changes@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
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
Expand Up @@ -16,6 +16,6 @@ jobs:
if: github.repository == 'angular/angular-cli'
runs-on: ubuntu-latest
steps:
- uses: angular/dev-infra/github-actions/feature-request@910c72bbcc1bf1ae2b22c48d41b2f0e8eeda520d
- uses: angular/dev-infra/github-actions/feature-request@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
55 changes: 55 additions & 0 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Performance Tracking

on:
push:
branches:
- main
# Run workflows for all releasable branches
- '[0-9]+.[0-9]+.x'

permissions:
contents: 'read'
id-token: 'write'

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@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- 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@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@e8ee8c5c247dc83e161ab8cf2281d0f6569ee626
- name: Install node modules
run: yarn install --immutable
# We utilize the google-github-actions/auth action to allow us to get an active credential using workflow
# identity federation. This allows us to request short lived credentials on demand, rather than storing
# credentials in secrets long term. More information can be found at:
# https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform
- uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7
with:
project_id: 'internal-200822'
workload_identity_provider: 'projects/823469418460/locations/global/workloadIdentityPools/measurables-tracking/providers/angular'
service_account: '[email protected]'
- run: yarn ng-dev perf workflows --name ${{ matrix.workflow }} --commit-sha ${{github.sha}}
Loading
Loading