Skip to content

Commit eed2f39

Browse files
KianNHRebeccaTamachiro
authored andcommitted
[Docs Site] Scope node_modules/.astro caching to just assets (#21412)
1 parent 89b010b commit eed2f39

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/cache/restore@v4
2525
with:
2626
path: |
27-
node_modules/.astro
27+
node_modules/.astro/assets
2828
key: static
2929

3030
- run: npm ci
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/cache/save@v4
5050
with:
5151
path: |
52-
node_modules/.astro
52+
node_modules/.astro/assets
5353
key: static
5454

5555
- name: Check - Validate redirects (infinite loops, sources with fragment)

.github/workflows/publish-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/cache/restore@v4
2828
with:
2929
path: |
30-
node_modules/.astro
30+
node_modules/.astro/assets
3131
key: static
3232
- run: npm run build
3333
name: Build
@@ -51,5 +51,5 @@ jobs:
5151
if: always()
5252
with:
5353
path: |
54-
node_modules/.astro
54+
node_modules/.astro/assets
5555
key: static

.github/workflows/publish-production.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/cache/restore@v4
2323
with:
2424
path: |
25-
node_modules/.astro
25+
node_modules/.astro/assets
2626
key: static
2727
- run: npm run build
2828
name: Build
@@ -36,5 +36,5 @@ jobs:
3636
if: always()
3737
with:
3838
path: |
39-
node_modules/.astro
39+
node_modules/.astro/assets
4040
key: static

0 commit comments

Comments
 (0)