Skip to content

Commit

Permalink
(devx): upload more bundle analyzer artifacts (#1275)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Aug 9, 2024
1 parent 9ad11a1 commit f0cca2d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/nextjs_bundle_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,29 @@ jobs:
run: npx -p nextjs-bundle-analysis report

- name: Upload bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bundle
path: packages/ui/docs-bundle/.next/analyze/__bundle_analysis.json

- name: Upload nodejs.html
uses: actions/upload-artifact@v4
with:
name: nodejs.html
path: packages/ui/docs-bundle/.next/analyze/nodejs.html

- name: Upload edge.html
uses: actions/upload-artifact@v4
with:
name: edge.html
path: packages/ui/docs-bundle/.next/analyze/edge.html

- name: Upload client.html
uses: actions/upload-artifact@v4
with:
name: client.html
path: packages/ui/docs-bundle/.next/analyze/client.html

- name: Download base branch bundle stats
uses: dawidd6/action-download-artifact@v2
if: success() && github.event.number
Expand Down

0 comments on commit f0cca2d

Please sign in to comment.