Skip to content

Commit

Permalink
chore: add caching mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
mobily committed Mar 31, 2024
1 parent 9ea8e46 commit 84471ff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ jobs:
with:
node-version: 18
- uses: oven-sh/setup-bun@v1
- uses: actions/cache@v4
with:
path: |
~/.npm
${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-
- name: Build
run: |
cd docs
Expand Down

0 comments on commit 84471ff

Please sign in to comment.