Skip to content

Commit 10ec679

Browse files
authored
fix: only cache sharp output (#639)
1 parent 0056111 commit 10ec679

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/actions/setup-node-pnpm/action.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,8 @@ runs:
1313
cache: pnpm
1414
node-version: 22
1515

16-
- name: cache output directories
16+
- name: cache sharp output
1717
uses: actions/cache@v4
1818
with:
19-
path: |
20-
.astro
21-
.cache
22-
dist
23-
node_modules
24-
key: ${{ runner.os }}-output-${{ hashFiles('**/pnpm-lock.yaml') }}
25-
restore-keys: |
26-
${{ runner.os }}-output-
19+
path: node_modules/.astro/assets
20+
key: sharp

0 commit comments

Comments
 (0)