Skip to content

Commit

Permalink
ci: tries caching bun deps and nextjs build
Browse files Browse the repository at this point in the history
  • Loading branch information
DavDeDev committed May 2, 2024
1 parent c64837b commit 5b00c6c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/my-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ jobs:
steps:
- uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-${{ matrix.bun }}-bun-${{ hashFiles('**/bun.lockb') }}
path: |
~/.bun/install/cache
${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: |
${{ runner.os }}-${{ matrix.bun }}-bun-
${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-
- uses: actions/checkout@v4
- run: bun install
- run: bun run build
Expand Down

0 comments on commit 5b00c6c

Please sign in to comment.