Skip to content

Commit

Permalink
[Feature] 번들링 관련 깃헙 액션 추가 (#169)
Browse files Browse the repository at this point in the history
* feat: 번들링 관련 깃헙 액션 추가

* fix: bundling 액션 수정

* fix: build-script 수정

* fix: build-script 삭제

* fix: 모든 빌드 파일 사이즈 압축하지 않고 측정하게 수정
  • Loading branch information
SeieunYoo authored Oct 28, 2024
1 parent df91157 commit b3bd675
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/bundling-size.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
repo-token: "${{ secrets.TOKEN }}"
pattern: "./packages/wow-ui/dist/**/*"
compression: "none"

0 comments on commit b3bd675

Please sign in to comment.