diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 00000000..9fb7a90a --- /dev/null +++ b/.bazelrc @@ -0,0 +1,10 @@ +# Print all the options that apply to the build. +# This helps us diagnose which options override others +# (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc) +build --announce_rc + +# More details on failures +build --verbose_failures=true + +# CI supports colors but Bazel does not detect it. +common --color=yes diff --git a/.bazelrc.user.example b/.bazelrc.user.example new file mode 100644 index 00000000..2158d678 --- /dev/null +++ b/.bazelrc.user.example @@ -0,0 +1,5 @@ +# Local development settings for macOS +# Copy this file to .bazelrc.user to enable these settings. +# macOS sandbox blocks network access during prerendering (Algolia API calls). +# Use local spawn strategy to allow network access. +build --spawn_strategy=local diff --git a/.github/workflows/adev-staging-deploy.yml b/.github/workflows/adev-staging-deploy.yml index 684d6d0f..d6d6fc1e 100644 --- a/.github/workflows/adev-staging-deploy.yml +++ b/.github/workflows/adev-staging-deploy.yml @@ -13,38 +13,39 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 with: submodules: true - name: Setup Node JS - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 with: node-version-file: '.node-version' - name: Setup pnpm - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # 4.1.0 + uses: pnpm/action-setup@b307475762933b98ed359c036b0e51f26b63b74b # v5.0.0 with: version: 10.17.1 - name: Setup Bazel - uses: bazel-contrib/setup-bazel@4fd964a13a440a8aeb0be47350db2fc640f19ca8 # 0.15.0 + uses: bazel-contrib/setup-bazel@8cb04a772ab4c1eb984e9c1b493a182e96c5e425 # 0.19.0 with: bazelisk-cache: true - disk-cache: true + disk-cache: ${{ github.workflow }} repository-cache: true bazelrc: | - # Print all the options that apply to the build. - # This helps us diagnose which options override others - # (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc) - build --announce_rc + # Limit resources for CI runners (ubuntu-latest: 7GB RAM, 2 CPUs) + build --local_resources=memory=4096 + build --local_resources=cpu=2 + build --jobs=2 + build --discard_analysis_cache + build --nokeep_state_after_build - # More details on failures - build --verbose_failures=true - - # CI supports colors but Bazel does not detect it. - common --color=yes + # Allow network access in sandbox for Algolia API calls during SSR prerendering. + build --sandbox_default_allow_network - name: Install Dependencies run: npm ci - name: Build Docs run: npm run build + env: + NODE_OPTIONS: --max-old-space-size=4096 - name: Deploy to Firebase Hosting uses: FirebaseExtended/action-hosting-deploy@v0 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dde8b724..62382633 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,24 +10,35 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 with: submodules: true - name: Setup Node JS - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 with: node-version-file: '.node-version' - name: Setup pnpm - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # 4.1.0 + uses: pnpm/action-setup@b307475762933b98ed359c036b0e51f26b63b74b # v5.0.0 with: version: 10.17.1 - name: Setup Bazel - uses: bazel-contrib/setup-bazel@4fd964a13a440a8aeb0be47350db2fc640f19ca8 # 0.15.0 + uses: bazel-contrib/setup-bazel@8cb04a772ab4c1eb984e9c1b493a182e96c5e425 # 0.19.0 with: bazelisk-cache: true - disk-cache: true + disk-cache: ${{ github.workflow }} repository-cache: true + bazelrc: | + # Limit resources for CI runners (ubuntu-latest: 7GB RAM, 2 CPUs) + build --local_resources=memory=4096 + build --local_resources=cpu=2 + build --jobs=2 + build --discard_analysis_cache + build --nokeep_state_after_build + # Allow network access in sandbox for Algolia API calls during SSR prerendering. + build --sandbox_default_allow_network - name: Install Dependencies run: npm ci - name: Build Docs - run: npm run build \ No newline at end of file + run: npm run build + env: + NODE_OPTIONS: --max-old-space-size=4096 \ No newline at end of file diff --git a/.gitignore b/.gitignore index f465a1bb..1fe1e6d0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,9 @@ /build /tmp +# Personal local Bazel overrides (see .bazelrc.user.example) +.bazelrc.user + # Node /node_modules npm-debug.log diff --git a/.node-version b/.node-version index d135defb..adb55585 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -22.12.0 \ No newline at end of file +22.14.0 \ No newline at end of file diff --git a/adev-es/src/app/core/layout/footer/footer.component.en.html b/adev-es/src/app/core/layout/footer/footer.component.en.html index 97ef75c6..05c42f91 100644 --- a/adev-es/src/app/core/layout/footer/footer.component.en.html +++ b/adev-es/src/app/core/layout/footer/footer.component.en.html @@ -58,7 +58,7 @@
- Super-powered by Google ©2010-2025. Code licensed under an + Super-powered by Google ©2010-2026. Code licensed under an MIT-style License . Documentation licensed under CC BY 4.0 - . + . Built by Angular at v{{ angularVersion }}.
diff --git a/adev-es/src/app/core/layout/footer/footer.component.html b/adev-es/src/app/core/layout/footer/footer.component.html index 0a41a920..3e807ff7 100644 --- a/adev-es/src/app/core/layout/footer/footer.component.html +++ b/adev-es/src/app/core/layout/footer/footer.component.html @@ -32,13 +32,13 @@