From 8ab3f147968e84701e0e85c79c7b4ce937261c43 Mon Sep 17 00:00:00 2001 From: "Kim (Sumo Logic)" <56411016+kimsauce@users.noreply.github.com> Date: Wed, 22 Oct 2025 23:12:17 -0700 Subject: [PATCH] Revert "Fix intermittent build issues with missing JS components (#5945)" This reverts commit 8ea1b191ced6f5a9b31e807abf627319109b2ad0. --- .github/workflows/build_and_deploy.yml | 7 +++++-- .github/workflows/pr.yml | 7 +++++-- docusaurus.config.js | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index da8588f50b..32de0ee6cc 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -53,14 +53,17 @@ jobs: with: node-version: '20.x' cache: 'yarn' + - name: Docusaurus Webpack cache + uses: actions/cache@v3 + with: + path: node_modules/.cache + key: ${{ runner.os }}-webpack-cache-${{ hashFiles('yarn.lock') }} - name: Install awscli uses: unfor19/install-aws-cli-action@v1 - name: Install jq run: sudo apt-get install -y jq - name: Install dependencies run: yarn install --frozen-lockfile - - name: Clean Docusaurus cache - run: rm -rf .docusaurus build - name: Build the Docusaurus site run: yarn build - name: Deploy the Docusaurus site diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 05af84a9c2..0bfdc08f8c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -27,10 +27,13 @@ jobs: with: node-version: '20.x' cache: 'yarn' + - name: Docusaurus Webpack cache + uses: actions/cache@v3 + with: + path: node_modules/.cache + key: ${{ runner.os }}-webpack-cache-${{ hashFiles('yarn.lock') }} - name: Install dependencies run: yarn install --frozen-lockfile - - name: Clean Docusaurus cache - run: rm -rf .docusaurus build - name: Build the Docusaurus site run: yarn build # --- Disallowed character checks for Pantheon --- diff --git a/docusaurus.config.js b/docusaurus.config.js index c6b525f2eb..a00de78c6c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -38,7 +38,7 @@ module.exports = { ], future: { v4: true, - experimental_faster: false, + experimental_faster: true, }, staticDirectories: ['static'], presets: [