From b3bd6750d5e877b6200855b21346c50825479ce1 Mon Sep 17 00:00:00 2001 From: SeieunYoo <101736358+SeieunYoo@users.noreply.github.com> Date: Mon, 28 Oct 2024 21:07:15 +0900 Subject: [PATCH] =?UTF-8?q?[Feature]=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=20(#169)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 번들링 관련 깃헙 액션 추가 * fix: bundling 액션 수정 * fix: build-script 수정 * fix: build-script 삭제 * fix: 모든 빌드 파일 사이즈 압축하지 않고 측정하게 수정 --- .github/workflows/bundling-size.yml | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 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..b1957b10 --- /dev/null +++ b/.github/workflows/bundling-size.yml @@ -0,0 +1,34 @@ +name: bundling-size + +on: + pull_request: + types: [opened, ready_for_review] + 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: 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: + repo-token: "${{ secrets.TOKEN }}" + pattern: "./packages/wow-ui/dist/**/*" + compression: "none" +