ci: add website build cache
This commit is contained in:
parent
b42ab29b59
commit
6e00a75f9f
|
@ -23,6 +23,13 @@ jobs:
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: ./website/yarn.lock
|
cache-dependency-path: ./website/yarn.lock
|
||||||
|
|
||||||
|
- uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: website/.docusaurus
|
||||||
|
key: docusaurus-main-${{ github.sha }}
|
||||||
|
restore-keys: |
|
||||||
|
docusaurus-main-
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
working-directory: website
|
working-directory: website
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|
Loading…
Reference in New Issue