mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 09:20:08 +00:00
chore(website): Update docusarus v3.8, improve build perf (#4209)
* Update docusaurus to v3.8, improve performance Docusaurus: - Update to v3.8.0 - Enable new faster features, rspack bundler cache and worker threads - Update CI to cache rspack bundler cache - Update dependencies to latest versions - Update blog posts to use the truncate tag - Update caniuse-lite Removed duplicated type documentation generation for bot package * Use .jsonc files for typedoc And use the readme option instead of a custom script * remvoe typedoc script --------- Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>
This commit is contained in:
7
.github/workflows/site.yml
vendored
7
.github/workflows/site.yml
vendored
@@ -38,6 +38,13 @@ jobs:
|
||||
run: yarn build:doc
|
||||
- run: yarn install --immutable
|
||||
working-directory: ./website
|
||||
- name: Restore bundler cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: ${{ runner.os }}-docusaurus-bundler-${{ github.sha }}
|
||||
path: ./website/node_modules/.cache
|
||||
restore-keys: |
|
||||
${{ runner.os }}-docusaurus-bundler-
|
||||
- name: Build website
|
||||
run: yarn build
|
||||
working-directory: ./website
|
||||
|
||||
Reference in New Issue
Block a user