Skip to content

Commit 0416ecf

Browse files
Copilotadamziel
andcommitted
Update bundle size check workflow to properly setup base branch
Co-authored-by: adamziel <205419+adamziel@users.noreply.github.com>
1 parent 56a1a53 commit 0416ecf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/bundle-size-check.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,12 @@ jobs:
3434
with:
3535
ref: ${{ github.base_ref }}
3636
submodules: true
37-
clean: false
37+
38+
- name: Setup and build base branch
39+
uses: ./.github/actions/prepare-playground
3840

3941
- name: Build base branch website
40-
run: |
41-
# Clean previous build
42-
rm -rf dist/packages/playground/wasm-wordpress-net
43-
npx nx build playground-website
42+
run: npx nx build playground-website
4443

4544
- name: Analyze base bundle size
4645
run: node tools/scripts/analyze-bundle-size.mjs

0 commit comments

Comments
 (0)