Skip to content

Commit 9a1e722

Browse files
committed
feat: update origin to Angular v20.0.6
Switch to GitHub Actions for better Bazel support on the free tier. CircleCI's free plan lacks support for the required Bazel resource class and fails when running Bazel inside Docker. GitHub Actions offers more flexibility and compatibility for our current CI needs.
1 parent 34a8a20 commit 9a1e722

File tree

267 files changed

+16926
-4890
lines changed

Some content is hidden

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

267 files changed

+16926
-4890
lines changed

.circleci/.config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2.1
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/node:20-browsers
6+
steps:
7+
- run: echo 'No checks.'

.circleci/config.yml

Lines changed: 0 additions & 111 deletions
This file was deleted.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Build adev and deploy to staging
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
env:
9+
BAZEL_REPO_CACHE_PATH: '~/.cache/bazel_repo_cache'
10+
11+
jobs:
12+
adev-build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
with:
18+
submodules: true
19+
- name: Setup Node JS
20+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
21+
- name: Setup Bazel
22+
uses: bazel-contrib/setup-bazel@4fd964a13a440a8aeb0be47350db2fc640f19ca8 # 0.15.0
23+
with:
24+
bazelisk-cache: true
25+
disk-cache: true
26+
repository-cache: true
27+
bazelrc: |
28+
# Print all the options that apply to the build.
29+
# This helps us diagnose which options override others
30+
# (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc)
31+
build --announce_rc
32+
33+
# More details on failures
34+
build --verbose_failures=true
35+
36+
# CI supports colors but Bazel does not detect it.
37+
common --color=yes
38+
- name: Install Dependencies
39+
run: npm ci
40+
- name: Build Docs
41+
run: npm run build
42+
- name: Deploy to Firebase Hosting
43+
uses: FirebaseExtended/action-hosting-deploy@v0
44+
with:
45+
repoToken: "${{ secrets.ANGULAR_DOCS_ES_TOKEN }}"
46+
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
47+
projectId: angular-hispano-staging
48+
channelId: live
49+
target: staging

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI (Pull Request)
2+
3+
on: [pull_request]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
build-adev:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14+
with:
15+
submodules: true
16+
- name: Setup Node JS
17+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
18+
- name: Setup Bazel
19+
uses: bazel-contrib/setup-bazel@4fd964a13a440a8aeb0be47350db2fc640f19ca8 # 0.15.0
20+
with:
21+
bazelisk-cache: true
22+
disk-cache: true
23+
repository-cache: true
24+
- name: Install Dependencies
25+
run: npm ci
26+
- name: Build Docs
27+
run: npm run build

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.18.2
1+
20.19.2

adev-es/src/app/core/constants/links.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ export const GITHUB = 'https://github.com/angular-hispano/angular-docs-es';
22
export const X = 'https://x.com/AngularHispana';
33
export const DISCORD = 'https://discord.com/invite/4cWb6SKUcb';
44
export const MEDIUM = '';
5-
export const YOUTUBE = '';
5+
export const YOUTUBE = '';
6+
export const BLUESKY = '';
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
<div class="adev-footer-container">
2+
<div class="adev-footer-columns">
3+
<div>
4+
<h2>Social Media</h2>
5+
<ul>
6+
<li>
7+
<a [href]="MEDIUM" title="Angular blog">Blog</a>
8+
</li>
9+
<li>
10+
<a [href]="X" title="X (formerly Twitter)">X (formerly Twitter)</a>
11+
</li>
12+
<li>
13+
<a [href]="BLUESKY" title="Bluesky">Bluesky</a>
14+
</li>
15+
<li>
16+
<a [href]="YOUTUBE" title="YouTube">YouTube</a>
17+
</li>
18+
<li>
19+
<a
20+
href="https://discord.gg/angular"
21+
title="Join the discussions at Angular Community Discord server."
22+
>
23+
Discord
24+
</a>
25+
</li>
26+
<li>
27+
<a [href]="GITHUB" title="GitHub">GitHub</a>
28+
</li>
29+
<li>
30+
<a
31+
href="https://stackoverflow.com/questions/tagged/angular"
32+
title="Stack Overflow: where the community answers your technical Angular questions."
33+
>
34+
Stack Overflow
35+
</a>
36+
</li>
37+
</ul>
38+
</div>
39+
<div>
40+
<h2>Community</h2>
41+
<ul>
42+
<li>
43+
<a
44+
href="https://github.com/angular/angular/blob/main/CONTRIBUTING.md"
45+
title="Contribute to Angular"
46+
>
47+
Contribute
48+
</a>
49+
</li>
50+
<li>
51+
<a
52+
href="https://github.com/angular/code-of-conduct/blob/main/CODE_OF_CONDUCT.md"
53+
title="Treating each other with respect."
54+
>
55+
Code of Conduct
56+
</a>
57+
</li>
58+
<li>
59+
<a
60+
href="https://github.com/angular/angular/issues"
61+
title="Post issues and suggestions on github."
62+
>
63+
Report Issues
64+
</a>
65+
</li>
66+
<li>
67+
<a
68+
href="https://devlibrary.withgoogle.com/products/angular?sort=updated"
69+
title="Google's DevLibrary"
70+
>
71+
Google's DevLibrary
72+
</a>
73+
</li>
74+
<li>
75+
<a
76+
href="https://developers.google.com/community/experts/directory?specialization=angular"
77+
title="Angular Google Developer Experts"
78+
>
79+
Angular Google Developer Experts
80+
</a>
81+
</li>
82+
</ul>
83+
</div>
84+
<div>
85+
<h2>Resources</h2>
86+
<ul>
87+
<li>
88+
<a routerLink="/press-kit" title="Press contacts, logos, and branding.">Press Kit</a>
89+
</li>
90+
<li>
91+
<a routerLink="/roadmap" title="Roadmap">Roadmap</a>
92+
</li>
93+
</ul>
94+
</div>
95+
<div>
96+
<h2>Languages</h2>
97+
<ul>
98+
<li>
99+
<a href="https://angular.cn/" title="简体中文版">简体中文版</a>
100+
</li>
101+
<li>
102+
<a href="https://dev.angular.tw/" title="正體中文版">正體中文版</a>
103+
</li>
104+
<li>
105+
<a href="https://angular.jp/" title="日本語版">日本語版</a>
106+
</li>
107+
<li>
108+
<a href="https://angular.kr/" title="한국어">한국어</a>
109+
</li>
110+
</ul>
111+
</div>
112+
</div>
113+
<p class="docs-license">
114+
Super-powered by Google ©2010-2025. Code licensed under an
115+
<a routerLink="/license" title="License text">MIT-style License</a>
116+
. Documentation licensed under
117+
<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>
118+
.
119+
</p>
120+
</div>

0 commit comments

Comments
 (0)