Skip to content

Commit

Permalink
💚 github: fix build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Mar 26, 2024
1 parent 546c43a commit b06f989
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,12 @@ jobs:
with:
node-version: 20
- uses: oven-sh/setup-bun@v1
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-
- run: bun install
- run: bun run build:e2e
- run: bun playwright install chromium --with-deps
Expand Down

0 comments on commit b06f989

Please sign in to comment.