Skip to content

Commit b5b3e95

Browse files
authored
Revert "Fix intermittent build issues with missing JS components (#5945)" (#5953)
This reverts commit 8ea1b19.
1 parent 65b9062 commit b5b3e95

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,17 @@ 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') }}
5661
- name: Install awscli
5762
uses: unfor19/install-aws-cli-action@v1
5863
- name: Install jq
5964
run: sudo apt-get install -y jq
6065
- name: Install dependencies
6166
run: yarn install --frozen-lockfile
62-
- name: Clean Docusaurus cache
63-
run: rm -rf .docusaurus build
6467
- name: Build the Docusaurus site
6568
run: yarn build
6669
- name: Deploy the Docusaurus site

.github/workflows/pr.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ 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') }}
3035
- name: Install dependencies
3136
run: yarn install --frozen-lockfile
32-
- name: Clean Docusaurus cache
33-
run: rm -rf .docusaurus build
3437
- name: Build the Docusaurus site
3538
run: yarn build
3639
# --- 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: false,
41+
experimental_faster: true,
4242
},
4343
staticDirectories: ['static'],
4444
presets: [

0 commit comments

Comments
 (0)