Skip to content

Commit

Permalink
add caching
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaharIlany committed Apr 4, 2024
1 parent c7ffedf commit b99381d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ on:
branches: ["pipeline"]

jobs:
build:
Build:
runs-on: ubuntu-latest

steps:
- uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package.json') }}-
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
Expand Down

0 comments on commit b99381d

Please sign in to comment.