Skip to content

Commit 470e63d

Browse files
authored
chore: cache-assets (#29487)
1 parent 2cbaaee commit 470e63d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ jobs:
122122
with:
123123
path: |
124124
node_modules/.astro/assets
125-
key: static
125+
key: astro-assets-${{ hashFiles('src/assets/**') }}
126+
restore-keys: |
127+
astro-assets-
126128
127129
# The starlight-links-validator plugin runs in astro:build:done, which fires
128130
# AFTER all pages have been written to dist/. If link validation fails, the

0 commit comments

Comments
 (0)