Skip to content

Commit 8ea1b19

Browse files
authored
Fix intermittent build issues with missing JS components (#5945)
1 parent 45973d4 commit 8ea1b19

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,14 @@ jobs:
5353
with:
5454
node-version: '20.x'
5555
cache: 'yarn'
56-
- name: Docusaurus Webpack cache
57-
uses: actions/cache@v3
58-
with:
59-
path: node_modules/.cache
60-
key: ${{ runner.os }}-webpack-cache-${{ hashFiles('yarn.lock') }}
6156
- name: Install awscli
6257
uses: unfor19/install-aws-cli-action@v1
6358
- name: Install jq
6459
run: sudo apt-get install -y jq
6560
- name: Install dependencies
6661
run: yarn install --frozen-lockfile
62+
- name: Clean Docusaurus cache
63+
run: rm -rf .docusaurus build
6764
- name: Build the Docusaurus site
6865
run: yarn build
6966
- name: Deploy the Docusaurus site

.github/workflows/pr.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,10 @@ jobs:
2727
with:
2828
node-version: '20.x'
2929
cache: 'yarn'
30-
- name: Docusaurus Webpack cache
31-
uses: actions/cache@v3
32-
with:
33-
path: node_modules/.cache
34-
key: ${{ runner.os }}-webpack-cache-${{ hashFiles('yarn.lock') }}
3530
- name: Install dependencies
3631
run: yarn install --frozen-lockfile
32+
- name: Clean Docusaurus cache
33+
run: rm -rf .docusaurus build
3734
- name: Build the Docusaurus site
3835
run: yarn build
3936
# --- Disallowed character checks for Pantheon ---

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = {
3838
],
3939
future: {
4040
v4: true,
41-
experimental_faster: true,
41+
experimental_faster: false,
4242
},
4343
staticDirectories: ['static'],
4444
presets: [

0 commit comments

Comments
 (0)