Skip to content

Commit 91d62e6

Browse files
committed
.github: upload bundle analysis as part of premerge
1 parent 680eef3 commit 91d62e6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/premerge.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,18 @@ jobs:
3535
fi
3636
3737
- name: Build
38-
run: npm run build
38+
run: VITE_BUNDLE_ANALYZER_MODE=static npm run build
3939
working-directory: ./plugin
4040

4141
- name: Test
4242
run: npm run test
4343
working-directory: ./plugin
44+
45+
- name: Upload artifacts
46+
uses: actions/upload-artifact@v6
47+
with:
48+
name: Bundle analysis
49+
path: ./plugin/dist/stats.html
4450
docs:
4551
runs-on: ubuntu-latest
4652
steps:

0 commit comments

Comments
 (0)