mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
ci: introduce bundle size for package @excalidraw/excalidraw (#6785)
* ci: update bundle size limit * change the size script to track bundle size on the package excalidraw * fix build command * fix * remove * fix * update script * fix
This commit is contained in:
parent
a80ac4c748
commit
9fc15d81a0
3 changed files with 21 additions and 7 deletions
6
.github/workflows/size-limit.yml
vendored
6
.github/workflows/size-limit.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: "size"
|
||||
name: "Bundle Size check @excalidraw/excalidraw"
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
|
@ -15,12 +15,10 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
- name: Install and build
|
||||
run: yarn --frozen-lockfile
|
||||
env:
|
||||
CI: true
|
||||
- uses: andresz1/size-limit-action@v1
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
build_script: build:app
|
||||
build_script: size
|
||||
skip_step: install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue