Skip to content

Commit 27365f8

Browse files
jonphippsclaude
andcommitted
fix: resolve CI URL validation failures by enabling build artifact sharing
- Add build artifact upload on success in test-site-builds job matrix - Add build artifact download in test-url-validation job - Fixes SITEMAP_MISSING errors by ensuring build directories exist during validation - Maintains existing failure artifact upload for debugging 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 6ee1733 commit 27365f8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/test-site-builds.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,14 @@ jobs:
150150
env:
151151
NODE_OPTIONS: --max-old-space-size=8192
152152

153+
- name: Upload build artifacts on success
154+
if: success()
155+
uses: actions/upload-artifact@v4
156+
with:
157+
name: build-${{ matrix.site }}
158+
path: |
159+
${{ matrix.site == 'portal' && 'portal' || format('standards/{0}', matrix.site) }}/build/
160+
153161
- name: Upload build artifacts on failure
154162
if: failure()
155163
uses: actions/upload-artifact@v4
@@ -189,6 +197,12 @@ jobs:
189197
- name: Build theme package
190198
run: pnpm --filter @ifla/theme build
191199

200+
- name: Download build artifacts
201+
uses: actions/download-artifact@v4
202+
with:
203+
pattern: build-*
204+
merge-multiple: true
205+
192206
- name: Run URL validation tests
193207
run: |
194208
SITE=${{ github.event.inputs.site || 'all' }}

0 commit comments

Comments
 (0)