diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 32de0ee6cc..da8588f50b 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -53,17 +53,14 @@ 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 0bfdc08f8c..05af84a9c2 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -27,13 +27,10 @@ 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 a00de78c6c..c6b525f2eb 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -38,7 +38,7 @@ module.exports = { ], future: { v4: true, - experimental_faster: true, + experimental_faster: false, }, staticDirectories: ['static'], presets: [