Skip to content

Commit 2bc37b5

Browse files
committed
Merge branch 'main' into dev
2 parents d18e916 + e34776a commit 2bc37b5

File tree

1,468 files changed

+217964
-283660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,468 files changed

+217964
-283660
lines changed

.angular-github/actions/deploy-docs-site/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ esbuild_checked_in(
1212
entry_point = ":lib/main.mts",
1313
external = [
1414
"undici",
15+
"pnpapi",
1516
],
1617
metafile = False,
1718
platform = "node",

.angular-github/actions/deploy-docs-site/main.js

Lines changed: 20113 additions & 7852 deletions
Large diffs are not rendered by default.

.angular-github/actions/saucelabs-legacy/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ runs:
55
using: 'composite'
66
steps:
77
- name: Setup Bazel
8-
uses: angular/dev-infra/github-actions/bazel/setup@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
8+
uses: angular/dev-infra/github-actions/bazel/setup@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
99
- name: Setup Saucelabs Variables
10-
uses: angular/dev-infra/github-actions/saucelabs@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
10+
uses: angular/dev-infra/github-actions/saucelabs@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
1111
- name: Starting Saucelabs tunnel service
1212
shell: bash
1313
run: ./tools/saucelabs/sauce-service.sh run &

.angular-github/workflows/adev-preview-build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ permissions: read-all
1515

1616
jobs:
1717
adev-build:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-latest-8core
1919
if: |
2020
(github.event.action == 'labeled' && github.event.label.name == 'adev: preview') ||
2121
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'adev: preview'))
2222
steps:
2323
- name: Initialize environment
24-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
24+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
2525
- name: Setup Bazel
26-
uses: angular/dev-infra/github-actions/bazel/setup@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
26+
uses: angular/dev-infra/github-actions/bazel/setup@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
2727
- name: Setup Bazel RBE
28-
uses: angular/dev-infra/github-actions/bazel/configure-remote@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
28+
uses: angular/dev-infra/github-actions/bazel/configure-remote@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
2929
- name: Install node modules
3030
run: pnpm install --frozen-lockfile
31-
- name: Build adev to ensure it continues to work
32-
run: pnpm bazel build //adev:build --full_build_adev --config=release
33-
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
31+
- name: Build adev
32+
run: pnpm bazel build //adev:build.production
33+
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
3434
with:
3535
workflow-artifact-name: 'adev-preview'
3636
pull-number: '${{github.event.pull_request.number}}'

.angular-github/workflows/adev-preview-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
npx -y firebase-tools@latest target:clear --config adev/firebase.json --project ${{env.PREVIEW_PROJECT}} hosting angular-docs
4141
npx -y firebase-tools@latest target:apply --config adev/firebase.json --project ${{env.PREVIEW_PROJECT}} hosting angular-docs ${{env.PREVIEW_SITE}}
4242
43-
- uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
43+
- uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
4444
with:
4545
github-token: '${{secrets.GITHUB_TOKEN}}'
4646
workflow-artifact-name: 'adev-preview'

.angular-github/workflows/assistant-to-the-branch-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1717
with:
1818
persist-credentials: false
19-
- uses: angular/dev-infra/github-actions/branch-manager@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
19+
- uses: angular/dev-infra/github-actions/branch-manager@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
2020
with:
2121
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}

.angular-github/workflows/benchmark-compare.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
exit: true
2020

2121
# Indicate that the benchmark command was received.
22-
- uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
22+
- uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5
2323
with:
2424
comment-id: ${{github.event.comment.id}}
2525
token: '${{secrets.BENCHMARK_POST_RESULTS_GITHUB_TOKEN}}'
@@ -38,7 +38,7 @@ jobs:
3838

3939
- run: pnpm install --frozen-lockfile
4040

41-
- uses: angular/dev-infra/github-actions/bazel/configure-remote@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
41+
- uses: angular/dev-infra/github-actions/bazel/configure-remote@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
4242
with:
4343
bazelrc: ./.bazelrc.user
4444

@@ -53,7 +53,7 @@ jobs:
5353
id: benchmark
5454
name: Running benchmark
5555

56-
- uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
56+
- uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5
5757
with:
5858
issue-number: ${{github.event.issue.number}}
5959
token: '${{secrets.BENCHMARK_POST_RESULTS_GITHUB_TOKEN}}'

.angular-github/workflows/ci.yml

Lines changed: 58 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Initialize environment
24-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
24+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
2525
- name: Install node modules
2626
run: pnpm install --frozen-lockfile
2727
- name: Check code lint
@@ -39,17 +39,17 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Initialize environment
42-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
42+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
4343
with:
4444
disable-package-manager-cache: true
4545
- name: Setup Bazel
46-
uses: angular/dev-infra/github-actions/bazel/setup@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
46+
uses: angular/dev-infra/github-actions/bazel/setup@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
4747
- name: Setup Bazel RBE
48-
uses: angular/dev-infra/github-actions/bazel/configure-remote@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
48+
uses: angular/dev-infra/github-actions/bazel/configure-remote@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
4949
with:
5050
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
5151
- name: Cache downloaded Cypress binary
52-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
52+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
5353
with:
5454
path: '~/.cache/Cypress'
5555
key: cypress-cache-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
@@ -69,14 +69,14 @@ jobs:
6969
install: false
7070

7171
test:
72-
runs-on: ubuntu-latest-4core
72+
runs-on: ubuntu-latest
7373
steps:
7474
- name: Initialize environment
75-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
75+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
7676
- name: Setup Bazel
77-
uses: angular/dev-infra/github-actions/bazel/setup@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
77+
uses: angular/dev-infra/github-actions/bazel/setup@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
7878
- name: Setup Bazel Remote Caching
79-
uses: angular/dev-infra/github-actions/bazel/configure-remote@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
79+
uses: angular/dev-infra/github-actions/bazel/configure-remote@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
8080
with:
8181
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
8282
- name: Install node modules
@@ -85,14 +85,14 @@ jobs:
8585
run: pnpm test:ci
8686

8787
integration-tests:
88-
runs-on: ubuntu-latest-4core
88+
runs-on: ubuntu-latest
8989
steps:
9090
- name: Initialize environment
91-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
91+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
9292
- name: Setup Bazel
93-
uses: angular/dev-infra/github-actions/bazel/setup@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
93+
uses: angular/dev-infra/github-actions/bazel/setup@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
9494
- name: Setup Bazel Remote Caching
95-
uses: angular/dev-infra/github-actions/bazel/configure-remote@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
95+
uses: angular/dev-infra/github-actions/bazel/configure-remote@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
9696
with:
9797
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
9898
- name: Install node modules
@@ -102,35 +102,57 @@ jobs:
102102

103103
adev:
104104
runs-on:
105-
labels: ubuntu-latest-4core
105+
labels: ubuntu-latest
106106
steps:
107107
- name: Initialize environment
108-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
108+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
109109
- name: Setup Bazel
110-
uses: angular/dev-infra/github-actions/bazel/setup@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
110+
uses: angular/dev-infra/github-actions/bazel/setup@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
111111
- name: Setup Bazel RBE
112-
uses: angular/dev-infra/github-actions/bazel/configure-remote@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
112+
uses: angular/dev-infra/github-actions/bazel/configure-remote@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
113113
with:
114114
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
115115
- name: Install node modules
116116
run: pnpm install --frozen-lockfile
117117
- name: Run tests
118118
run: pnpm bazel test //adev/...
119119
- name: Build adev in fast mode to ensure it continues to work
120-
run: pnpm bazel build //adev:build --config=release
120+
run: pnpm bazel build //adev:build
121+
122+
vscode-ng-language-service:
123+
runs-on:
124+
labels: ubuntu-latest
125+
steps:
126+
- name: Initialize environment
127+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
128+
- name: Setup Bazel
129+
uses: angular/dev-infra/github-actions/bazel/setup@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
130+
- name: Setup Bazel RBE
131+
uses: angular/dev-infra/github-actions/bazel/configure-remote@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
132+
with:
133+
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
134+
- name: Install node modules
135+
run: pnpm install --frozen-lockfile
136+
- name: Cache downloaded vscode binary
137+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
138+
with:
139+
path: '~/.cache/vscode-test'
140+
key: vscode-cache-${{ runner.os }}-${{ hashFiles('vscode-ng-language-service/integration/e2e/index.ts') }} # The version is specified in this file.
141+
- name: Run tests
142+
run: pnpm bazel test //vscode-ng-language-service/...
121143

122144
publish-snapshots:
123145
runs-on:
124146
labels: ubuntu-latest
125147
steps:
126148
- name: Initialize environment
127-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
149+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
128150
with:
129151
cache-node-modules: true
130152
- name: Setup Bazel
131-
uses: angular/dev-infra/github-actions/bazel/setup@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
153+
uses: angular/dev-infra/github-actions/bazel/setup@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
132154
- name: Setup Bazel RBE
133-
uses: angular/dev-infra/github-actions/bazel/configure-remote@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
155+
uses: angular/dev-infra/github-actions/bazel/configure-remote@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
134156
- name: Install node modules
135157
run: pnpm install --frozen-lockfile
136158
- run: echo "https://${{secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN}}:@github.com" > ${HOME}/.git_credentials
@@ -139,14 +161,14 @@ jobs:
139161

140162
zone-js:
141163
runs-on:
142-
labels: ubuntu-latest-4core
164+
labels: ubuntu-latest
143165
steps:
144166
- name: Initialize environment
145-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
167+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
146168
- name: Setup Bazel
147-
uses: angular/dev-infra/github-actions/bazel/setup@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
169+
uses: angular/dev-infra/github-actions/bazel/setup@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
148170
- name: Setup Bazel RBE
149-
uses: angular/dev-infra/github-actions/bazel/configure-remote@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
171+
uses: angular/dev-infra/github-actions/bazel/configure-remote@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
150172
with:
151173
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
152174
- name: Install node modules
@@ -180,7 +202,7 @@ jobs:
180202
- run: pnpm -C packages/zone.js/test/typings test
181203

182204
# saucelabs:
183-
# runs-on: ubuntu-latest-4core
205+
# runs-on: ubuntu-latest
184206
# env:
185207
# SAUCE_TUNNEL_IDENTIFIER: angular-framework-${{ github.run_number }}
186208
# steps:
@@ -193,22 +215,26 @@ jobs:
193215
adev-deploy:
194216
needs: [adev]
195217
if: needs.adev.result == 'success'
196-
runs-on: ubuntu-latest
218+
runs-on: ubuntu-latest-8core
197219
steps:
198220
- name: Initialize environment
199-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
221+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
200222
- name: Setup Bazel
201-
uses: angular/dev-infra/github-actions/bazel/setup@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
223+
uses: angular/dev-infra/github-actions/bazel/setup@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
202224
- name: Setup Bazel RBE
203-
uses: angular/dev-infra/github-actions/bazel/configure-remote@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
225+
uses: angular/dev-infra/github-actions/bazel/configure-remote@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
204226
- name: Install node modules
205227
run: pnpm install --frozen-lockfile
206-
- name: Build adev to ensure it continues to work
207-
run: pnpm bazel build //adev:build --full_build_adev --config=release
228+
- name: Build adev
229+
run: pnpm bazel build //adev:build.production --config=release
208230
- name: Deploy to firebase
209231
uses: ./.github/actions/deploy-docs-site
210232
with:
211233
serviceKey: ${{ secrets.ANGULAR_DEV_SITE_DEPLOY }}
212234
githubReleaseTrainReadToken: ${{ secrets.DOCS_DEPLOY_GITHUB_RELEASE_TRAIN_TOKEN }}
213235
configPath: 'adev/firebase.json'
214236
distDir: 'dist/bin/adev/dist/browser'
237+
- name: Update Algolia synonym record
238+
run: pnpm tsx adev/scripts/synonyms/update-synonyms.mts
239+
env:
240+
ALGOLIA_KEY: ${{ secrets.ALGOLIA_SYNONYM_MANAGER }}

.angular-github/workflows/dev-infra.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
16-
- uses: angular/dev-infra/github-actions/pull-request-labeling@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
16+
- uses: angular/dev-infra/github-actions/pull-request-labeling@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
1717
with:
1818
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
1919
post_approval_changes:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23-
- uses: angular/dev-infra/github-actions/post-approval-changes@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
23+
- uses: angular/dev-infra/github-actions/post-approval-changes@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
2424
with:
2525
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}

.angular-github/workflows/google-internal-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17-
- uses: angular/dev-infra/github-actions/google-internal-tests@06d3af5cfd1e122087c0acafdd7909edce4ad1d7
17+
- uses: angular/dev-infra/github-actions/google-internal-tests@56543b10ddb9941c76b4413cc24ec3fa7a43cf5c
1818
with:
1919
run-tests-guide-url: http://go/angular-g3sync-start
2020
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)