ci: add website build cache

This commit is contained in:
jo 2022-04-10 16:28:35 +02:00 committed by Kyle Robbertze
parent b42ab29b59
commit 6e00a75f9f
1 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,13 @@ jobs:
cache: yarn
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
working-directory: website
run: yarn install --frozen-lockfile