Test if caching improves build
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
1 parent
526e8a2e22
commit
ddf023d7bb
1 file changed
+11
@@ -34,6 +34,17 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
|
- uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
${{ github.workspace }}/.docusaurus
|
||||||
|
${{ github.workspace }}/**/.cache
|
||||||
|
key: |
|
||||||
|
${{ runner.os }}-docusaurus-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-docusaurus-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- name: Build website
|
- name: Build website
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user