Skip to content

Commit

Permalink
Fix cachine of npm dependecies for NEXT js
Browse files Browse the repository at this point in the history
  • Loading branch information
linxiaoxin committed May 25, 2024
1 parent 4fff3af commit 7e61a8e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
- .next/cache/

- name: Clean Install dependencies
run: npm ci
Expand Down

0 comments on commit 7e61a8e

Please sign in to comment.