From f1d95e0c7ea1bcf819f502222f1ee9b4ad3f844a Mon Sep 17 00:00:00 2001 From: SeieunYoo Date: Sun, 13 Oct 2024 23:16:34 +0900 Subject: [PATCH 1/5] =?UTF-8?q?feat:=20=EB=B2=88=EB=93=A4=EB=A7=81=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EA=B9=83=ED=97=99=20=EC=95=A1=EC=85=98=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bundling-size.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/bundling-size.yml diff --git a/.github/workflows/bundling-size.yml b/.github/workflows/bundling-size.yml new file mode 100644 index 00000000..a34f579f --- /dev/null +++ b/.github/workflows/bundling-size.yml @@ -0,0 +1,26 @@ +name: bundling-size + +on: + pull_request: + branches: + - main + +jobs: + check-size: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 20 + + - name: Check Sizes + uses: preactjs/compressed-size-action@2.7.0 + with: + repo-token: "${{ secrets.TOKEN }}" + build-script: "ui:build" + pattern: "./packages/wow-ui/dist/*" From af34e8534efc89a35e2cf8c2eff69608b9b51637 Mon Sep 17 00:00:00 2001 From: SeieunYoo Date: Sun, 13 Oct 2024 23:28:30 +0900 Subject: [PATCH 2/5] =?UTF-8?q?fix:=20bundling=20=EC=95=A1=EC=85=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bundling-size.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/bundling-size.yml b/.github/workflows/bundling-size.yml index a34f579f..3dafacd3 100644 --- a/.github/workflows/bundling-size.yml +++ b/.github/workflows/bundling-size.yml @@ -2,6 +2,7 @@ name: bundling-size on: pull_request: + types: [opened, ready_for_review] branches: - main @@ -18,6 +19,12 @@ jobs: with: node-version: 20 + - name: Install Pnpm + uses: pnpm/action-setup@v3 + with: + version: 8 + run_install: false + - name: Check Sizes uses: preactjs/compressed-size-action@2.7.0 with: From 8d593414f16d0067c35846af95c39830ce6ef682 Mon Sep 17 00:00:00 2001 From: SeieunYoo Date: Sun, 13 Oct 2024 23:38:06 +0900 Subject: [PATCH 3/5] =?UTF-8?q?fix:=20build-script=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bundling-size.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bundling-size.yml b/.github/workflows/bundling-size.yml index 3dafacd3..b6b27a72 100644 --- a/.github/workflows/bundling-size.yml +++ b/.github/workflows/bundling-size.yml @@ -29,5 +29,5 @@ jobs: uses: preactjs/compressed-size-action@2.7.0 with: repo-token: "${{ secrets.TOKEN }}" - build-script: "ui:build" + build-script: "icons:build && tokens:build && ui:build" pattern: "./packages/wow-ui/dist/*" From 457f026ca49540bb71b2fc58a633e2523480accb Mon Sep 17 00:00:00 2001 From: SeieunYoo Date: Sun, 13 Oct 2024 23:44:34 +0900 Subject: [PATCH 4/5] =?UTF-8?q?fix:=20build-script=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bundling-size.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/bundling-size.yml b/.github/workflows/bundling-size.yml index b6b27a72..a5a789ac 100644 --- a/.github/workflows/bundling-size.yml +++ b/.github/workflows/bundling-size.yml @@ -29,5 +29,4 @@ jobs: uses: preactjs/compressed-size-action@2.7.0 with: repo-token: "${{ secrets.TOKEN }}" - build-script: "icons:build && tokens:build && ui:build" pattern: "./packages/wow-ui/dist/*" From 6571291aa53bfab2fd8597a154fac8bfc2adc977 Mon Sep 17 00:00:00 2001 From: SeieunYoo Date: Sun, 13 Oct 2024 23:52:49 +0900 Subject: [PATCH 5/5] =?UTF-8?q?fix:=20=EB=AA=A8=EB=93=A0=20=EB=B9=8C?= =?UTF-8?q?=EB=93=9C=20=ED=8C=8C=EC=9D=BC=20=EC=82=AC=EC=9D=B4=EC=A6=88=20?= =?UTF-8?q?=EC=95=95=EC=B6=95=ED=95=98=EC=A7=80=20=EC=95=8A=EA=B3=A0=20?= =?UTF-8?q?=EC=B8=A1=EC=A0=95=ED=95=98=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bundling-size.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bundling-size.yml b/.github/workflows/bundling-size.yml index a5a789ac..b1957b10 100644 --- a/.github/workflows/bundling-size.yml +++ b/.github/workflows/bundling-size.yml @@ -29,4 +29,6 @@ jobs: uses: preactjs/compressed-size-action@2.7.0 with: repo-token: "${{ secrets.TOKEN }}" - pattern: "./packages/wow-ui/dist/*" + pattern: "./packages/wow-ui/dist/**/*" + compression: "none" +