From 46ccc5a197f0755a7fd55de087c7f7a83ed399a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Fri, 13 Nov 2026 14:01:12 +0100 Subject: [PATCH 1/2] ci: use nuxt-bundle-analyzer 0.2.0 --- .github/workflows/bundle-size-comment.yml | 2 +- .github/workflows/bundle-size.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bundle-size-comment.yml b/.github/workflows/bundle-size-comment.yml index 0083d13..9782463 100644 --- a/.github/workflows/bundle-size-comment.yml +++ b/.github/workflows/bundle-size-comment.yml @@ -18,7 +18,7 @@ permissions: pull-requests: write env: - NUXT_BUNDLE_ANALYZER_VERSION: 0.1.7 + NUXT_BUNDLE_ANALYZER_VERSION: 0.2.0 jobs: comment: diff --git a/.github/workflows/bundle-size.yml b/.github/workflows/bundle-size.yml index 2c7eab7..176aaaa 100644 --- a/.github/workflows/bundle-size.yml +++ b/.github/workflows/bundle-size.yml @@ -13,7 +13,7 @@ concurrency: cancel-in-progress: true env: - NUXT_BUNDLE_ANALYZER_VERSION: 0.1.7 + NUXT_BUNDLE_ANALYZER_VERSION: 0.2.0 jobs: # Analyzes `main` and the PR side by side, compared and posted by `bundle-size-comment.yml`. From 2122c328ed9d12c5fceac78da011742bccbbf4db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Fri, 13 Nov 2026 14:21:37 +0100 Subject: [PATCH 2/2] ci: measure the /, /page and /getting-started/introduction pages with --urls --- .github/workflows/bundle-size.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bundle-size.yml b/.github/workflows/bundle-size.yml index 176aaaa..3ceed34 100644 --- a/.github/workflows/bundle-size.yml +++ b/.github/workflows/bundle-size.yml @@ -14,6 +14,8 @@ concurrency: env: NUXT_BUNDLE_ANALYZER_VERSION: 0.2.0 + # The pages of the playground `--urls` renders and measures: the landing page, a plain page and a docs page. + NUXT_BUNDLE_ANALYZER_URLS: /,/page,/getting-started/introduction jobs: # Analyzes `main` and the PR side by side, compared and posted by `bundle-size-comment.yml`. @@ -35,7 +37,7 @@ jobs: - uses: ./.github/actions/setup # With npx, so the analyzer needs no entry in the lockfile. - name: Analyze the playground - run: npx --yes "nuxt-bundle-analyzer@$NUXT_BUNDLE_ANALYZER_VERSION" playground --name ${{ matrix.target }} --no-serve + run: npx --yes "nuxt-bundle-analyzer@$NUXT_BUNDLE_ANALYZER_VERSION" playground --urls "$NUXT_BUNDLE_ANALYZER_URLS" --name ${{ matrix.target }} --no-serve env: # The content snapshot confirms its commit with GitHub, so both sides ship one. GITHUB_TOKEN: ${{ github.token }}