File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ---
Original file line number Diff line number Diff 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 : [
You can’t perform that action at this time.
0 commit comments