Skip to content

Commit

Permalink
add build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
1oannis committed Oct 5, 2024
1 parent 2e6e252 commit c5479a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,15 @@ jobs:
- name: Install dependencies
run: pnpm install

- uses: actions/cache@v4
with:
path: |
~/.npm
${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- name: Build
run: pnpm build

Expand Down

0 comments on commit c5479a9

Please sign in to comment.