From eccf7f3b97c0ad46b8146ec36b13574e4e0f8897 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sat, 25 Jul 2026 22:47:06 -0700 Subject: [PATCH] ci: Upload the bundle treemap visualization browser-viewable (#2617) --- .github/workflows/ci.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 997a1cc6..0edf781b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,10 +84,11 @@ jobs: name: advanced-camera-card path: dist/*.js - # When this issue is fixed, it would be useful to upload visualizations: - # https://github.com/actions/upload-artifact/issues/14 - # - name: Upload visualizations - # uses: actions/upload-artifact@v7 - # with: - # name: advanced-camera-card - # path: visualizations/*.html + # Uploaded unarchived so the self-contained treemap can be viewed directly + # in the browser rather than downloaded and unzipped. The artifact is + # named after the file, as `name` is ignored when `archive` is false. + - name: Upload bundle visualization + uses: actions/upload-artifact@v7 + with: + path: visualizations/treemap.html + archive: false