Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bundle-size-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ concurrency:
cancel-in-progress: true

env:
NUXT_BUNDLE_ANALYZER_VERSION: 0.1.7
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`.
Expand All @@ -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 }}
Expand Down
Loading